diff --git a/desktop/src/main/java/org/vorthmann/zome/ui/ShapesDialog.java b/desktop/src/main/java/org/vorthmann/zome/ui/ShapesDialog.java index 8fe7dc076..6a9053b69 100644 --- a/desktop/src/main/java/org/vorthmann/zome/ui/ShapesDialog.java +++ b/desktop/src/main/java/org/vorthmann/zome/ui/ShapesDialog.java @@ -34,7 +34,8 @@ public ShapesDialog( Frame frame, Controller controller ) radioButton .addActionListener( new ControllerActionListener(controller) ); } - setSize( new Dimension( 250, 250 ) ); + // adjust height to fit all styles plus the title bar plus a bit extra at the bottom for good measure + setSize( new Dimension( 250, 66 + (styles.length * 24)) ); setLocationRelativeTo( frame ); }