diff --git a/latex.iml b/latex.iml index 1f37fcb..893f0f5 100644 --- a/latex.iml +++ b/latex.iml @@ -8,7 +8,9 @@ - + + + diff --git a/src/gui/MainWindow.java b/src/gui/MainWindow.java index d82b5b7..1c6c827 100644 --- a/src/gui/MainWindow.java +++ b/src/gui/MainWindow.java @@ -93,7 +93,7 @@ public void run() { private MainWindow() { setTitle("ScaLaTeX"); setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); - setVisible(true); + setLayout(new GridLayout(1, 1)); MenuBar menuBar = new MenuBar(); @@ -140,6 +140,8 @@ public void actionPerformed(ActionEvent e) { setMinimumSize(new Dimension(400, 600)); setLocationRelativeTo(null); + + setVisible(true); }