Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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

(tick)

bottomAnchor

Double

AnchorPane

(tick)

leftAnchor

Double

AnchorPane

(tick)

rightAnchor

Double

AnchorPane

(tick)

margin

Insets

HBox, VBox, GridPane, TilePane, StackPane, FlowPane

(tick)

row (or rowIndex)

Integer

GridPane

(tick)

column (or columnIndex)

Integer

GridPane

(tick)

rowSpan

Integer

GridPane

(tick)

columnSpan

Integer

GridPane

(tick)

hgrow

Priority

GridPane, HBox

(tick)

vgrow

Priority

GridPane, VBox

(tick)

halignment

HPos

GridPane

(tick)

valignment

VPos

GridPane

(tick)

alignment

Pos

TilePane, StackPane, BorderPane

(tick)

  • No labels