Skip to content

Commit

Permalink
add scene style
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanHao97 committed Oct 26, 2022
1 parent bd40258 commit f899055
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public void start(Stage stage) {
root.setCenter(createTabPane());

Scene scene = new Scene(root, 960, 540);
scene.getRoot().setStyle("-fx-font-family: 'serif'");
//scene.getStylesheets().add("classpy.css");
enableDragAndDrop(scene);
listenEvents();
Expand Down

0 comments on commit f899055

Please sign in to comment.