Merge pull request #1881 from SiboVG/unstable

Increase default PS settings window size
This commit is contained in:
Sibo Van Gool 2022-12-12 21:16:29 +01:00 committed by GitHub
commit a4492c8114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);