BoxContainer

    Inherited By: ColorPicker, , VBoxContainer

    Base class for box containers.

    Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.

    Tutorials

    Methods

    enum AlignMode:

    • ALIGN_BEGIN = 0 —- Aligns children with the beginning of the container.

    • ALIGN_CENTER = 1 —- Aligns children with the center of the container.

    • ALIGN_END = 2 —- Aligns children with the end of the container.

    Property Descriptions

    The alignment of the container’s children (must be one of , ALIGN_CENTER or ).

    • void add_spacer ( begin )

    Adds a control to the box as a spacer. If , will insert the spacer control in front of other children.