File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
AppWish/AppWish/src/main/java/pn/app_wish Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,7 @@ public void start(Stage primaryStage) throws IOException {
106
106
System .setProperty (SimpleLogger .DEFAULT_LOG_LEVEL_KEY , "DEBUG" );
107
107
Parent root = FXMLLoader .load (requireNonNull (getClass ().getClassLoader ().getResource (DEFAULT_FXML_FILE )));
108
108
mainStage = primaryStage ;
109
- mainStage .setFullScreen (false );
110
109
mainStage .setResizable (false );
111
- primaryStage .setFullScreen (false );
112
110
primaryStage .setResizable (false );
113
111
primaryStage .setTitle (GUIConstants .DEFAULT_STAGE_TITLE );
114
112
Scene scene = new Scene (root );
Original file line number Diff line number Diff line change @@ -124,12 +124,15 @@ private void goToMainScene(ActionEvent ae) {
124
124
this .executingJavaAppProcess .toHandle ().destroy ();
125
125
}
126
126
Pane pane ;
127
+
127
128
try {
128
129
pane = FXMLLoader .load (
129
130
Objects .requireNonNull (getClass ().getClassLoader ().getResource (GUIConstants .DEFAULT_FXML_FILE )));
130
131
} catch (IOException e ) {
131
132
throw new RuntimeException (e );
132
133
}
134
+
135
+ pane .requestLayout ();
133
136
Scene scene = new Scene (pane );
134
137
Stage stage = AppWish .getMainStage ();
135
138
stage .setScene (scene );
You can’t perform that action at this time.
0 commit comments