.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_BoxContainer: BoxContainer ============ **Inherits:** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`VBoxContainer`, :ref:`ButtonGroup`, :ref:`HBoxContainer`, :ref:`ColorPicker` **Category:** Core Brief Description ----------------- Base class for Box containers. Member Functions ---------------- +------------------------+------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_alignment` **(** **)** const | +------------------------+------------------------------------------------------------------------------------------------------+ | void | :ref:`set_alignment` **(** :ref:`int` alignment **)** | +------------------------+------------------------------------------------------------------------------------------------------+ Numeric Constants ----------------- - **ALIGN_BEGIN** = **0** - **ALIGN_CENTER** = **1** - **ALIGN_END** = **2** Description ----------- Base class for Box containers. It arranges children controls vertically or horizontally, and rearranges them automatically when their minimum size changes. Member Function Description --------------------------- .. _class_BoxContainer_get_alignment: - :ref:`int` **get_alignment** **(** **)** const .. _class_BoxContainer_set_alignment: - void **set_alignment** **(** :ref:`int` alignment **)**