aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/list-stack.vala3
-rw-r--r--src/main-window.vala2
-rw-r--r--src/prompt-box.vala3
3 files changed, 8 insertions, 0 deletions
diff --git a/src/list-stack.vala b/src/list-stack.vala
index cd9745d..89e1171 100644
--- a/src/list-stack.vala
+++ b/src/list-stack.vala
@@ -32,6 +32,9 @@ public class ListStack : Gtk.Fixed
construct
{
+ // Hack to avoid gtk 3.20's new allocate logic, which messes us up.
+ resize_mode = Gtk.ResizeMode.QUEUE;
+
width = grid_size * GreeterList.BOX_WIDTH;
}
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 ();
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index 9901d4f..f6d8588 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -93,6 +93,9 @@ public class PromptBox : FadableBox
construct
{
+ // Hack to avoid gtk 3.20's new allocate logic, which messes us up.
+ resize_mode = Gtk.ResizeMode.QUEUE;
+
set_start_row ();
reset_last_row ();
expand = true;