Property
|
JavaScript
|
Type
|
Description
|
||
Rows Divide Available Height Evenly
|
evenlyspacedrows
|
boolean
|
Select this checkbox to make all rows the same height.
|
||
Fixed Column Size
(Column property)
|
N/A
|
N/A
|
Specifies the width of a column. By default, the space is divided evenly among the columns.
|
||
Flex Direction
(Column property)
|
N/A
|
N/A
|
You can nest another Grid Layout widget inside of a column. Flex direction defines which direction additional rows flow in.
|
||
Row Height (in px)
(Row property)
|
N/A
|
N/A
|
Specifies the space between the border and edge.
|
Minimum Steps Required for Use
|
What It Looks Like
|
1. Drag and drop a Grid Layout widget onto the canvas.
2. Click Add Row to add the number of rows you want. For this example, we’ve added three more rows.
3. To add columns to a row, select the row, and click Add Column in the DETAILS pane. For this example, we’ve added one more column to the last three rows.
4. Drag and drop the widgets you want displayed in the different cells. For this example, we’ve used Label widgets for the text, and Image widgets for the graphics.
|