OptionalcolumnsOptional fixed number of columns. By default this is set to -1 - meaning not fixed - which will result in the layout making its best effort at drawing a grid of equal width and height
OptionalheightOptional fixed height for the layout.
OptionalhorizontalOptional alignment for horizontal placement in cells. Defaults to center.
OptionallocationOptional function that, given some vertex, can provide the x/y location of the vertex on the canvas
OptionalorientationWhether to lay out items row first or column first. Additionally, this setting will determine where any extra items are placed if the dataset does not conform to a grid of equal width and height
OptionalpaddingOptional padding to put around the elements. Defaults to 30 pixels in each axis.
OptionalrowsOptional fixed number of rows. By default this is set to -1 - meaning not fixed - which will result in the layout making its best effort at drawing a grid of equal width and height.
OptionalverticalOptional alignment for vertical placement in cells. Defaults to center.
OptionalwidthOptional fixed width for the layout.
Options for the GridLayout.