Currently static properties can be set in code and in FXML, but not in CSS.
E.g. there is no CSS equivalent of the following:
<BorderPane>
<top>
<Label text="My Label" BorderPanel.alignment="CENTER"/>
</top>
</BorderPane>
E.g. there is no CSS equivalent of the following:
<BorderPane>
<top>
<Label text="My Label" BorderPanel.alignment="CENTER"/>
</top>
</BorderPane>
- relates to
-
JDK-8091202 CSS Style Object Model in Java
-
- Open
-