classref: Add property overview and setter/getter like in editor docs

Output from godotengine/godot#22013.
Fixes #1729.
This commit is contained in:
Rémi Verschelde
2018-09-13 11:06:52 +02:00
parent f9caa4be29
commit ab3f908221
578 changed files with 33831 additions and 6706 deletions

View File

@@ -8,6 +8,7 @@ CenterContainer
===============
**Inherits:** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
@@ -15,6 +16,13 @@ Brief Description
Keeps children controls centered.
Properties
----------
+-------------------------+---------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`use_top_left<class_CenterContainer_use_top_left>` |
+-------------------------+---------------------------------------------------------+
Description
-----------
@@ -25,6 +33,13 @@ Property Descriptions
.. _class_CenterContainer_use_top_left:
- :ref:`bool<class_bool>` **use_top_left** - If ``true`` centers children relative to the ``CenterContainer``'s top left corner. Default value: ``false``.
- :ref:`bool<class_bool>` **use_top_left**
+----------+-------------------------+
| *Setter* | set_use_top_left(value) |
+----------+-------------------------+
| *Getter* | is_using_top_left() |
+----------+-------------------------+
If ``true`` centers children relative to the ``CenterContainer``'s top left corner. Default value: ``false``.