diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-16 17:37:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-16 20:47:32 -0700 |
commit | 0929ee32f753255cbe1474988cb41a5a86d29a0e (patch) | |
tree | bf0a4120c136b109fc636d4c25a8af7a10d35f74 | |
parent | 225073fd822f9861a83d65386c29fda9b37bf273 (diff) |
altosui: Try to avoid resize weirdness with map preloading
grid bag + box does some strange stuff, this appears to avoid the
worst of the interactions.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosSiteMapPreload.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosSiteMapPreload.java b/altosui/AltosSiteMapPreload.java index 2d9468b9..f939e9d6 100644 --- a/altosui/AltosSiteMapPreload.java +++ b/altosui/AltosSiteMapPreload.java @@ -217,7 +217,7 @@ public class AltosSiteMapPreload extends JDialog implements ActionListener { c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.CENTER; c.insets = i; - c.weightx = 1; + c.weightx = 0; c.weighty = 0; c.gridx = 0; @@ -234,7 +234,7 @@ public class AltosSiteMapPreload extends JDialog implements ActionListener { c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.CENTER; c.insets = i; - c.weightx = 1; + c.weightx = 0; c.weighty = 0; c.gridx = 1; |