mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with changes from godotengine/godot#24640
This commit is contained in:
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user