Sync classref with changes from godotengine/godot#24640

This commit is contained in:
Rémi Verschelde
2019-01-07 10:14:08 +01:00
parent 4f5d503b25
commit f70354d01c
521 changed files with 27321 additions and 22169 deletions

View File

@@ -19,28 +19,28 @@ Grid container used to arrange elements in a grid like layout.
Properties
----------
+-----------------------+---------------------------------------------+
| :ref:`int<class_int>` | :ref:`columns<class_GridContainer_columns>` |
+-----------------------+---------------------------------------------+
+-----------------------+------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`columns<class_GridContainer_property_columns>` |
+-----------------------+------------------------------------------------------+
Theme Properties
----------------
+-----------------------+-----------------------------------------------------+
| :ref:`int<class_int>` | :ref:`hseparation<class_GridContainer_hseparation>` |
+-----------------------+-----------------------------------------------------+
| :ref:`int<class_int>` | :ref:`vseparation<class_GridContainer_vseparation>` |
+-----------------------+-----------------------------------------------------+
+-----------------------+-------------+
| :ref:`int<class_int>` | hseparation |
+-----------------------+-------------+
| :ref:`int<class_int>` | vseparation |
+-----------------------+-------------+
Description
-----------
Grid container will arrange its children in a grid like structure, the grid columns are specified using the :ref:`columns<class_GridContainer_columns>` property and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
Grid container will arrange its children in a grid like structure, the grid columns are specified using the :ref:`columns<class_GridContainer_property_columns>` property and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
Property Descriptions
---------------------
.. _class_GridContainer_columns:
.. _class_GridContainer_property_columns:
- :ref:`int<class_int>` **columns**