Removed window decorations from launcher

Prevents resizing the window thus renders theme development easier
This commit is contained in:
François Autin 2021-05-28 01:20:26 +02:00
parent 0da311c65a
commit a88cbebd18
No known key found for this signature in database
GPG Key ID: 24025429AC559B7C

View File

@ -13,6 +13,7 @@ import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import javafx.fxml.*;
public class Launcher extends Application {
@ -26,6 +27,7 @@ public class Launcher extends Application {
Scene main = new Scene(root);
primaryStage.initStyle(StageStyle.UNDECORATED);
primaryStage.setTitle("Boulevard Combattant");
primaryStage.setScene(main);
primaryStage.show();