diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-24 00:29:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-24 00:29:36 -0700 |
commit | 3b0a9a1c87390747492bfef435ac8e0829ec748f (patch) | |
tree | 78e6e6987004a172a6a6116238d07616cb032837 /altosui/AltosIgniteUI.java | |
parent | 2165e82327faaada23f0503b8e49b80f938b746c (diff) |
altosui: Try to get dialogs to look a little better
grid bag constraints are not my friend.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosIgniteUI.java')
-rw-r--r-- | altosui/AltosIgniteUI.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/altosui/AltosIgniteUI.java b/altosui/AltosIgniteUI.java index 806b87b9..c11a8614 100644 --- a/altosui/AltosIgniteUI.java +++ b/altosui/AltosIgniteUI.java @@ -341,8 +341,8 @@ public class AltosIgniteUI c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.CENTER; c.insets = i; - c.weightx = 1; - c.weighty = 1; + c.weightx = 0; + c.weighty = 0; c.gridx = 0; c.gridy = 0; @@ -412,7 +412,6 @@ public class AltosIgniteUI close.addActionListener(this); close.setActionCommand("close"); - pack(); setLocationRelativeTo(owner); |