aboutsummaryrefslogtreecommitdiff
path: root/src/prompt-box.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r--src/prompt-box.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index ecc7ef1..af3994f 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -283,6 +283,9 @@ public class PromptBox : FadableBox
base.get_preferred_height (out min, out nat);
min = round_to_grid (min + GreeterList.BORDER * 2) - GreeterList.BORDER * 2;
nat = round_to_grid (nat + GreeterList.BORDER * 2) - GreeterList.BORDER * 2;
+
+ if (position <= -1 || position >= 1)
+ min = nat = grid_size;
}
public void set_zone (Gtk.Widget zone)