Skip to content

Commit

Permalink
fix #143 set minimal width and minimal height
Browse files Browse the repository at this point in the history
  • Loading branch information
WinXaito committed Jun 28, 2016
1 parent 0878e72 commit b694400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/zestedesavoir/zestwriter/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ public void start(Stage primaryStage) {
this.primaryStage = primaryStage;
this.primaryStage.setTitle("Zest Writer");
this.primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("assets/static/icons/logo.png")));
this.primaryStage.setMinWidth(800);
this.primaryStage.setMinHeight(500);

if(config.isDisplayWindowMaximize()){
this.primaryStage.setMaximized(true);
Expand Down

0 comments on commit b694400

Please sign in to comment.