GridLayout.this

Create a 2-column grid layout by default.

class GridLayout
this

Parameters

orientation Orientation

The fixed dimension of this GridLayout.

resolution int

The number of rows or columns in the grid (depending on the Orientation).

alignment Alignment

How widgets should be aligned within each grid cell.

margin int

The amount of spacing to add around the border of the grid.

spacing int

The amount of spacing between widgets added to the grid.

Meta