aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index 74c591b..b5252ad 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -110,6 +110,8 @@ public class MainWindow : Gtk.Window
login_box.add (hbox);
var align = new Gtk.Alignment (0.5f, 0.5f, 0.0f, 0.0f);
+ // Hack to avoid gtk 3.20's new allocate logic, which messes us up.
+ align.resize_mode = Gtk.ResizeMode.QUEUE;
align.set_size_request (grid_size, -1);
align.margin_bottom = MENUBAR_HEIGHT; /* offset for menubar at top */
align.show ();