Skip to content

Commit

Permalink
included mainStyle.css as a stylesheet for the future
Browse files Browse the repository at this point in the history
  • Loading branch information
kag12017 committed Mar 2, 2016
1 parent a81fdb6 commit e4af25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void start(Stage primaryStage) throws Exception{
primaryStage.setScene(new Scene(root, 990, 700));
Scene scene = primaryStage.getScene(); // we get the scene from above
scene.getStylesheets().clear(); // clear any styles

scene.getStylesheets().add("/main/resources/mainStyle.css");
Controller controller = loader.getController();

controller.initializeSceneEvents();
Expand Down

0 comments on commit e4af25b

Please sign in to comment.