From c14896cbc3c4daf8ab36bbe8377d46ba1fa8dc91 Mon Sep 17 00:00:00 2001 From: SiboVG Date: Mon, 12 Dec 2022 20:59:22 +0100 Subject: [PATCH] Increase default PS settings window size --- swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoFrame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoFrame.java b/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoFrame.java index c495a1db5..de088d5d0 100644 --- a/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoFrame.java +++ b/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoFrame.java @@ -91,8 +91,8 @@ public class PhotoFrame extends JFrame { } }); - setSize(1024, 768); this.setMinimumSize(new Dimension(160, 150)); + this.setSize(1024, 768); photoPanel = new PhotoPanel(document, p); photoPanel.setDoc(document); setJMenuBar(getMenu(app)); @@ -117,6 +117,7 @@ public class PhotoFrame extends JFrame { settings = new JDialog(this, trans.get("PhotoSettingsConfig.title")) { { setContentPane(new PhotoSettingsConfig(p, document)); + setPreferredSize(new Dimension(600, 500)); pack(); this.setLocationByPlatform(true); GUIUtil.rememberWindowSize(this);