gui: change layout of new-city-dialog to work with wider dialog
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@691 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
3138b04741
commit
f7c8cb53e2
1 changed files with 2 additions and 2 deletions
|
@ -46,10 +46,10 @@ public class NewCityDialog extends JDialog
|
||||||
|
|
||||||
mapPane = new OverlayMapView(engine);
|
mapPane = new OverlayMapView(engine);
|
||||||
mapPane.setBorder(BorderFactory.createLoweredBevelBorder());
|
mapPane.setBorder(BorderFactory.createLoweredBevelBorder());
|
||||||
p1.add(mapPane, BorderLayout.CENTER);
|
p1.add(mapPane, BorderLayout.WEST);
|
||||||
|
|
||||||
JPanel p2 = new JPanel(new BorderLayout());
|
JPanel p2 = new JPanel(new BorderLayout());
|
||||||
p1.add(p2, BorderLayout.EAST);
|
p1.add(p2, BorderLayout.CENTER);
|
||||||
|
|
||||||
Box levelBox = new Box(BoxLayout.Y_AXIS);
|
Box levelBox = new Box(BoxLayout.Y_AXIS);
|
||||||
levelBox.setBorder(BorderFactory.createEmptyBorder(0,10,0,10));
|
levelBox.setBorder(BorderFactory.createEmptyBorder(0,10,0,10));
|
||||||
|
|
Reference in a new issue