mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
43 lines
1.4 KiB
ReStructuredText
43 lines
1.4 KiB
ReStructuredText
.. _class_CenterContainer:
|
|
|
|
CenterContainer
|
|
===============
|
|
|
|
Inherits: :ref:`Container<class_container>`
|
|
-------------------------------------------
|
|
|
|
Category: Core
|
|
--------------
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Keeps children controls centered.
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------+--------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_use_top_left<class_CenterContainer_set_use_top_left>` **(** :ref:`bool<class_bool>` enable **)** |
|
|
+--------------------------+--------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`is_using_top_left<class_CenterContainer_is_using_top_left>` **(** **)** const |
|
|
+--------------------------+--------------------------------------------------------------------------------------------------------------+
|
|
|
|
Description
|
|
-----------
|
|
|
|
CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_CenterContainer_set_use_top_left:
|
|
|
|
- void **set_use_top_left** **(** :ref:`bool<class_bool>` enable **)**
|
|
|
|
.. _class_CenterContainer_is_using_top_left:
|
|
|
|
- :ref:`bool<class_bool>` **is_using_top_left** **(** **)** const
|
|
|
|
|