Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
A container that arranges its child controls in a grid layout.
GridContainer arranges its child controls in a grid layout. The number of columns is specified by the columns property, whereas the number of rows depends on how many are needed for the child controls. The number of rows and columns is preserved for every size of the container.
int columns =
The number of columns in the GridContainer. If modified, GridContainer reorders its Control-derived children to accommodate the new layout.
Theme Property Descriptions¶
int h_separation =
The horizontal separation of children nodes.
int v_separation =
The vertical separation of children nodes.