Better Grid Layout Group
Better Grid Layout Group extends the normal Grid Layout Group.
Besides the Size Modifiers for Padding, Spacing and Cell Size, there is an extra option if you select "Fixed Column Count" or "Fixed Row Count" as a constraint: Fit
If "Fit" is enabled, the cell height (fixed row count) or cell width (fixed column count) are stretched or shrinked to exactly fit all together inside the parent while respecting the size of the padding and spacing.
Hidden Properties
- padding
- spacing
- cellSize
- constraint
- constraintCount
- childAlignment
- startAxis
- startCorner