Struct BoxContainer
Base class for box containers.
struct BoxContainer
;
Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.
Properties
| Name | Type | Description |
|---|---|---|
alignment[get, set]
|
BoxContainer | The alignment of the container's children (must be one of constant ALIGN_BEGIN, constant ALIGN_CENTER or constant ALIGN_END).
|
Methods
| Name | Description |
|---|---|
addSpacer
|
Adds a control to the box as a spacer. If true, begin will insert the spacer control in front of other children.
|
getAlignment
|
|
setAlignment
|
Enums
| Name | Description |
|---|---|
AlignMode
|
|
Constants
|