summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-05-11 13:38:07 -0400
committerKali Kaneko <kali@leap.se>2016-05-11 20:51:31 -0400
commit13b5afd1bdea38e908bb774becfc0f49a532d5bd (patch)
tree4a8fef36c4d12e8b7f7b7a797637657b18e77528 /src/leap/bitmask
parent6d4c24af969d72331f0177ec302b9d48381683b8 (diff)
[feat] resize qt-browser to a sensible default
mainly to avoid the "Send" button to become out of view in the Compose pane (it needed scrolling to get it on view). this resize shouldn't be needed when pixelated solves the size-responsiveness issue.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/gui/qt_browser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/qt_browser.py b/src/leap/bitmask/gui/qt_browser.py
index 2f7e6086..2d9e20e6 100644
--- a/src/leap/bitmask/gui/qt_browser.py
+++ b/src/leap/bitmask/gui/qt_browser.py
@@ -37,6 +37,11 @@ class PixelatedWindow(QtGui.QDialog):
self.setLayout(layout)
self.setWindowTitle('Bitmask Mail')
+ # For the moment, we need to resize to a sensible default to avoid the
+ # "send" button to be out of view in the compose pane. This should be
+ # removed as soon as pixelated becomes size-responsive.
+ self.resize(800, 700)
+
def load_app(self):
self.view.load(QtCore.QUrl(PIXELATED_URI))
self.view.page().setForwardUnsupportedContent(True)