give toolbars an approx height to reduce flashing at startup

This commit is contained in:
Damien Elmes 2017-06-22 16:56:29 +10:00
parent aeaf9df32f
commit aa77df0805

View file

@ -17,6 +17,7 @@ class Toolbar:
"stats": self._statsLinkHandler,
"sync": self._syncLinkHandler,
}
self.web.setFixedHeight(30)
def onLoaded(self):
self.web.evalWithCallback("$(document.body).height()", self.onHeight)