Created
January 6, 2020 23:54
-
-
Save dmitrykolesnikovich/40ff6b1f81b2eaad752eb2ac8e73605e to your computer and use it in GitHub Desktop.
How to make JavaFX divider narrower
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// style1.css | |
.split-pane > .split-pane-divider { | |
-fx-padding: 1; | |
} | |
// Sample.java | |
splitPane.getStylesheets().add(getClass().getResource("style1.css").toExternalForm()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment