I've a GridPane with a style class "form"
gridPane.getStyleClass().add("form");
and this style sheet information:
.form {
-fx-node-hpos: right;
-fx-node-vpos: bottom;
-fx-hgap: 20;
-fx-vgap: 20;
}
If I switch to the style sheet the hgap and vgap works, but -fx-node-hpos and -fx-node-vpos has no effect.
gridPane.getStyleClass().add("form");
and this style sheet information:
.form {
-fx-node-hpos: right;
-fx-node-vpos: bottom;
-fx-hgap: 20;
-fx-vgap: 20;
}
If I switch to the style sheet the hgap and vgap works, but -fx-node-hpos and -fx-node-vpos has no effect.