File tree Expand file tree Collapse file tree
AppWish/AppWish/src/main/java/pn/app_wish Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,9 +106,7 @@ public void start(Stage primaryStage) throws IOException {
106106 System .setProperty (SimpleLogger .DEFAULT_LOG_LEVEL_KEY , "DEBUG" );
107107 Parent root = FXMLLoader .load (requireNonNull (getClass ().getClassLoader ().getResource (DEFAULT_FXML_FILE )));
108108 mainStage = primaryStage ;
109- mainStage .setFullScreen (false );
110109 mainStage .setResizable (false );
111- primaryStage .setFullScreen (false );
112110 primaryStage .setResizable (false );
113111 primaryStage .setTitle (GUIConstants .DEFAULT_STAGE_TITLE );
114112 Scene scene = new Scene (root );
Original file line number Diff line number Diff line change @@ -124,12 +124,15 @@ private void goToMainScene(ActionEvent ae) {
124124 this .executingJavaAppProcess .toHandle ().destroy ();
125125 }
126126 Pane pane ;
127+
127128 try {
128129 pane = FXMLLoader .load (
129130 Objects .requireNonNull (getClass ().getClassLoader ().getResource (GUIConstants .DEFAULT_FXML_FILE )));
130131 } catch (IOException e ) {
131132 throw new RuntimeException (e );
132133 }
134+
135+ pane .requestLayout ();
133136 Scene scene = new Scene (pane );
134137 Stage stage = AppWish .getMainStage ();
135138 stage .setScene (scene );
You can’t perform that action at this time.
0 commit comments