how set splitpane divider width in javafx 2
10,310
Use css to change the width of the divider:
.split-pane > .split-pane-divider {
-fx-padding: 0 0.75em 0 0.75em;
}
Author by
java baba
Updated on June 27, 2022Comments
-
java baba almost 2 years
I have SplitPane in my application. This is SplitPane have divider with default width. How can i set the width of SplitPane Divider
@FXML private SplitPane splitPane; // splitPane here get Divider and set New Width
-
Fran Marzoa over 5 yearsIs there anyway to do this in the fxml file directly?