Skip to content

Commit

Permalink
Change font to fit all OS
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoukerrr committed Sep 12, 2021
1 parent b046889 commit 38a2512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/duke/Duke.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void start(Stage stage) {

scene = new Scene(mainLayout);

scene.getRoot().setStyle("-fx-font-family: 'Courier New'");
stage.setScene(scene);
stage.show();
stage.setTitle("Duke");
Expand Down

0 comments on commit 38a2512

Please sign in to comment.