BoxContainer¶
Inherits: Container < Control < CanvasItem < Node < Object
Inherited By: ColorPicker, HBoxContainer, VBoxContainer
Base class for box containers.
Description¶
Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.
Properties¶
AlignMode | alignment | 0 |
MouseFilter | mouse_filter | 1 (parent override) |
Methods¶
void | add_spacer ( bool begin ) |
Enumerations¶
Property Descriptions¶
- AlignMode alignment
Default | 0 |
Setter | set_alignment(value) |
Getter | get_alignment() |
The alignment of the container’s children (must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END).