Removed window decorations from launcher
Prevents resizing the window thus renders theme development easier
This commit is contained in:
parent
0da311c65a
commit
a88cbebd18
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user