Update UI.java
The Window is to large, on linux without this line
This commit is contained in:
parent
3d24e8e0f3
commit
b88f8d0a12
|
@ -94,7 +94,7 @@ public class UI implements ActionListener {
|
||||||
|
|
||||||
//init screen
|
//init screen
|
||||||
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
||||||
frame.setSize(830, 220);
|
frame.setSize(830, ( System.getProperty("os.name").toLowerCase().contains("nix") ? 180 : 220));
|
||||||
|
|
||||||
save.setText("Save");
|
save.setText("Save");
|
||||||
save.addActionListener(this);
|
save.addActionListener(this);
|
||||||
|
@ -537,4 +537,4 @@ public class UI implements ActionListener {
|
||||||
setValue(defaultvalue);
|
setValue(defaultvalue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue