Layout Constraints
The following layout constraint properties can be applied to any Node in the SceneGraphBuilder. GroovyFX will take care of setting them up as appropriate depending on the layout pane in which the Node is placed.
Property | Type | Applies To | Implemented |
|---|---|---|---|
topAnchor | Double | AnchorPane | |
bottomAnchor | Double | AnchorPane | |
leftAnchor | Double | AnchorPane | |
rightAnchor | Double | AnchorPane | |
margin | Insets | HBox, VBox, GridPane, TilePane, StackPane, FlowPane | |
row (or rowIndex) | Integer | GridPane | |
column (or columnIndex) | Integer | GridPane | |
rowSpan | Integer | GridPane | |
columnSpan | Integer | GridPane | |
hgrow | Priority | GridPane, HBox | |
vgrow | Priority | GridPane, VBox | |
halignment | HPos | GridPane | |
valignment | VPos | GridPane | |
alignment | Pos | TilePane, StackPane, BorderPane | |