PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

FillDirectionMaxCells

UIGridLayout

int

FillDirectionMaxCells determines the number of cells in the grid that can be used before continuing on the next row/column (whether this is a row or column is dependent on UIGridStyleLayout/FillDirection). This value must be non-negative.

  • If set to zero, there is no maximum number of cells that may appear in one row/column except for how many can fit within the parent UI element.
  • If set to one, this creates a list similar to those created by UIListLayout.