Skip to content

Commit

Permalink
Added minimum window size
Browse files Browse the repository at this point in the history
  • Loading branch information
ringosham committed Apr 22, 2019
1 parent afeea21 commit 0749943
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/ringosham/threads/LoadTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ protected Void call() {
try {
Parent root = loader.load();
stage.resizableProperty().setValue(true);
stage.setMinWidth(550);
stage.setMinHeight(500);
stage.setWidth(800);
stage.setHeight(700);
MainScreen controller = loader.getController();
stage.setOnCloseRequest(e -> {
e.consume();
Expand Down

0 comments on commit 0749943

Please sign in to comment.