Skip to content

Commit

Permalink
minor gui fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krasko committed Nov 14, 2012
1 parent 2d2b9d4 commit e3a07c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion latex.iml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/out/production/latex" />
<output-test url="file://$MODULE_DIR$/out/test/latex" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
Expand Down
4 changes: 3 additions & 1 deletion src/gui/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -140,6 +140,8 @@ public void actionPerformed(ActionEvent e) {

setMinimumSize(new Dimension(400, 600));
setLocationRelativeTo(null);

setVisible(true);
}


Expand Down

0 comments on commit e3a07c0

Please sign in to comment.