diff --git a/README.md b/README.md index 93b6db0..e64e6ec 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,5 @@ Probably tastes better than any Apple editor and NetBeans combined. - [FXMisc/RichTextFX](https://github.com/FXMisc/RichTextFX) -> Library for handling rich text and line numbers - [richtextfx-demos](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/README.md) -> Examples and demos of how to use RichTextFX, including [Java Keywords Demo](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/JavaKeywordsAsyncDemo.java) - [Pixabay/311788](https://pixabay.com/vectors/bananas-fruits-pair-yellow-bananas-311788/) -> Banana logo -- [Guava Event Bus](https://github.com/google/guava/wiki/EventBusExplained) -> Library for handling communication between controllers \ No newline at end of file +- [Guava Event Bus](https://github.com/google/guava/wiki/EventBusExplained) -> Library for handling communication between controllers +- [JFX Moderna](https://github.com/openjdk/jfx/blob/master/modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css) - CSS reference \ No newline at end of file diff --git a/src/main/java/app/Main.java b/src/main/java/app/Main.java index f2ee58e..0b38f26 100644 --- a/src/main/java/app/Main.java +++ b/src/main/java/app/Main.java @@ -42,6 +42,9 @@ public class Main extends Application { } Scene scene = new Scene(document); + + scene.getStylesheets().add(getClass().getResource("/styling/app.css").toExternalForm()); + window.setScene(scene); window.show(); } diff --git a/src/main/resources/fxml/components/Filetree.fxml b/src/main/resources/fxml/components/Filetree.fxml index 5847a77..b02c3a5 100644 --- a/src/main/resources/fxml/components/Filetree.fxml +++ b/src/main/resources/fxml/components/Filetree.fxml @@ -6,11 +6,11 @@ + fx:controller="app.controllers.FiletreeController" + fitToWidth="true" + fitToHeight="true"> + fx:id="filetree"/> \ No newline at end of file diff --git a/src/main/resources/fxml/components/Modeline.fxml b/src/main/resources/fxml/components/Modeline.fxml index 896c2c9..74649de 100644 --- a/src/main/resources/fxml/components/Modeline.fxml +++ b/src/main/resources/fxml/components/Modeline.fxml @@ -5,10 +5,11 @@ + fx:controller="app.controllers.ModelineController" + alignment="CENTER_LEFT">