Layout in GroovyFX Add comment to Wiki View in Wiki Edit Wiki page Printable Version

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)

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified