Constraint

The Constraint property allows you to specify the number of rows or columns the grid will have. There are three options, as shown:

The Fixed Column Count and Fixed Row Count allow you to specify an amount of columns or rows, respectively. If you select either of these options, a new property, Constraint Count, will become available. You then specify how may columns or rows you want. When you select Fixed Column Count, the number of rows will be variable. When you select Fixed Row Count, the number of columns will be variable.

The Flexible option automatically calculates the amount of rows and columns for you based on the Cell Size ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.