12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- .. 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<class_container>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Inherited By:** :ref:`VBoxContainer<class_vboxcontainer>`, :ref:`ButtonGroup<class_buttongroup>`, :ref:`HBoxContainer<class_hboxcontainer>`, :ref:`ColorPicker<class_colorpicker>`
- **Category:** Core
- Brief Description
- -----------------
- Base class for Box containers.
- Member Functions
- ----------------
- +------------------------+------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_alignment<class_BoxContainer_get_alignment>` **(** **)** const |
- +------------------------+------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_alignment<class_BoxContainer_set_alignment>` **(** :ref:`int<class_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<class_int>` **get_alignment** **(** **)** const
- .. _class_BoxContainer_set_alignment:
- - void **set_alignment** **(** :ref:`int<class_int>` alignment **)**
|