Commit 4793a803 authored by Daniel Dreibrodt's avatar Daniel Dreibrodt

Make the program usable on smaller screens, e.g. Netbooks

parent 9862e22f
...@@ -643,7 +643,7 @@ public class Main extends JFrame implements ActionListener, TreeSelectionListene ...@@ -643,7 +643,7 @@ public class Main extends JFrame implements ActionListener, TreeSelectionListene
hideToolbar(); hideToolbar();
} }
setMinimumSize(new Dimension(800,600)); setMinimumSize(new Dimension(640,480));
setSize(Config.getInt("win.main.width"),Config.getInt("win.main.height")); setSize(Config.getInt("win.main.width"),Config.getInt("win.main.height"));
if(Config.get("win.main.x")==null) setLocationRelativeTo(null); if(Config.get("win.main.x")==null) setLocationRelativeTo(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment