Class GridLayout (2.0.0)

GridLayout(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.

Attributes

NameDescription
columns int
The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering.
widgets Sequence[.widget.Widget]
The informational elements that are arranged into the columns row-first.