Inherits: Container < Control < CanvasItem < Node < Object
Inherited By: ColorPicker, HBoxContainer, VBoxContainer
Base class for box containers.
Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.
AlignMode | alignment | 0 |
MouseFilter | mouse_filter |
1 (parent override)
|
void | add_spacer ( bool begin ) |
enum AlignMode:
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).
Adds a control to the box as a spacer. If true
, begin
will insert the spacer control in front of other children.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_boxcontainer.html