Class FlowContainer
A container that arranges its child controls horizontally or vertically and wraps them around at the borders.
- Inheritance
-
FlowContainer
- Derived
Remarks
A container that arranges its child controls horizontally or vertically and wraps them around at the borders. This is similar to how text in a book wraps around when no more words can fit on a line.
See Also
Properties
alignment
The alignment of the container's children (must be one of FlowContainer.ALIGNMENT_BEGIN, FlowContainer.ALIGNMENT_CENTER, or FlowContainer.ALIGNMENT_END).
var alignment : int = 0
Property Value
Remarks
last_wrap_alignment
The wrap behavior of the last, partially filled row or column (must be one of FlowContainer.LAST_WRAP_ALIGNMENT_INHERIT, FlowContainer.LAST_WRAP_ALIGNMENT_BEGIN, FlowContainer.LAST_WRAP_ALIGNMENT_CENTER, or FlowContainer.LAST_WRAP_ALIGNMENT_END).
var last_wrap_alignment : int = 0
Property Value
Remarks
reverse_fill
If true
, reverses fill direction. Horizontal FlowContainers will fill rows bottom to top, vertical FlowContainers will fill columns right to left.
When using a vertical FlowContainer with a right to left layout_direction, columns will fill left to right instead.
var reverse_fill : bool = false
Property Value
Remarks
vertical
If true
, the FlowContainer will arrange its children vertically, rather than horizontally.
Can't be changed when using HFlowContainer and VFlowContainer.
var vertical : bool = false
Property Value
Remarks
h_separation
Theme Property
The horizontal separation of child nodes.
= ``4``
Property Value
v_separation
Theme Property
The vertical separation of child nodes.
= ``4``
Property Value
Methods
get_line_count
Qualifiers: const
Returns the current line count.
int get_line_count