Separator
Often used in ToolBars to visually group buttons. The default theme displays a Separator as a vertical or horizontal bar.
Theme
"separator" { // this
orientation( Orientation.HORIZONTAL )
orientation( Orientation.VERTICAL )
":horizontal" { ... } // Exactly one of these pseudo styles are present.
":vertical" { ... }
child( "line" ) {
// A region
}
}
Content copied to clipboard
Separator inherits all the features of Region.
Properties
Link copied to clipboard
The base class Node has no children, so this is an empty list.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Each subclass of node can determine its preferred height. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Link copied to clipboard
Each subclass of node can determine its preferred width. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.