The Grid Layout patch makes it easy to position views on a grid. It it designed to work within a Replicator patch. Depending on the 'Vertical' parameter, you can position views by row or column. The actual item width/height is calculated using the based on the total width/height, border, and spacing inputs.
Index
The index of the view in the grid. It is designed to be connected to the 'Index' output from Replicator Variables.
Total Width/Height
The total width/height of the grid, including items, border, and spacing. It is often connected to Superview Variables.
Columns/Rows
With a the 'Vertical' parameter checked, this input represents the number of views to display in each row before wrapping to the next row. With 'Vertical' unchecked, it represents the number of views to display in each column before wrapping to the next column.
Border
The size of the padding outside items on the grid.
Spacing
The size of the padding between items on the grid.
Item Width/Height
The width/height of each item. It is only used to compute the aspect ratio of the view. The actual item width/height is calculated using the based on the total width/height, border, and spacing input.
X Position
The X position of the view at the given 'Index'. Connect this to the views's 'X Position' input.
Y Position
The Y position of the view at the given 'Index'. Connect this to the views's 'Y Position' input.
Item Width
The actual width of each item, given the desired border and spacing. Connect this to the view's 'Width' input.'
Item Height
The actual height of each item, given the desired border and spacing. Connect this to the view's 'Height' input.
Vertical
If chekced, layout views in rows, otherwise layout views in columns.