FlowContainer¶
Inherits: Container < Control < CanvasItem < Node < Object
Inherited By: HFlowContainer, VFlowContainer
Base class for flow containers.
Description¶
Arranges child Control nodes vertically or horizontally in a left-to-right or top-to-bottom flow.
A line is filled with Control nodes until no more fit on the same line, similar to text in an autowrapped label.
Properties¶
|
Methods¶
get_line_count ( ) const |
Enumerations¶
enum AlignMode:
AlignMode ALIGN_BEGIN = 0
Aligns children with the beginning of the container.
AlignMode ALIGN_CENTER = 1
Aligns children with the center of the container.
AlignMode ALIGN_END = 2
Aligns children with the end of the container.
Property Descriptions¶
AlignMode alignment = 0
The alignment of the container's children (must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END).
Method Descriptions¶
int get_line_count ( ) const
Returns the current line count.