From aa77df0805bfc7bc3f9e5fea2c265f733010a720 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 22 Jun 2017 16:56:29 +1000 Subject: [PATCH] give toolbars an approx height to reduce flashing at startup --- aqt/toolbar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/toolbar.py b/aqt/toolbar.py index 019550231..ec065000c 100644 --- a/aqt/toolbar.py +++ b/aqt/toolbar.py @@ -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)