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

NameTypeDescription
alignment[get, set] BoxContainer.AlignModeThe alignment of the container's children (must be one of constant ALIGN_BEGIN, constant ALIGN_CENTER or constant ALIGN_END).

Methods

NameDescription
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

NameDescription
AlignMode
Constants