From 2fa9791d9802d5c34323d9bd99ad9fa608abdda6 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Tue, 20 Jun 2017 14:20:23 +0200 Subject: Work around GTK 3.20's new allocation logic. Ported from slick-greeter. --- src/prompt-box.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/prompt-box.vala') 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; -- cgit v1.2.3