altosui: Try to avoid resize weirdness with map preloading
[fw/altos] / altosui / AltosSiteMapPreload.java
index 2d9468b90e18925f7ad07ee1b1b7593ba2b9a5d6..f939e9d6f71c3e0396b397a2beab46eb1c435e7d 100644 (file)
@@ -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;