· cellPadding
Interval of the UI element to the grid cell edge for all cells of the GridLayout.
· cellSpacing
Interval between the individualgrid cells for all cells of the GridLayout.
· colCount
Number of grid columns
· stretchedHorizontally
Specifies whether or not the UI elements match the container size of the horizontal alignment.
· stretchedVertically
Specifies whether or not the UI elements match the container size of the vertical alignment.
The following diagram illustrates how the GridLayout properties work: