Files
godot-docs/classes/class_boxcontainer.rst
T
Rémi Verschelde 1204e3ea17 Add a warning header to each classref file
To tell potential contributors that they should NOT edit those files but instead should work on the class.xml source of the main Godot repo
2016-02-17 22:04:18 +01:00

53 lines
1.9 KiB
ReStructuredText

.. 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 **)**