Class GridLayout (2.12.1)

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.


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 MutableSequence[]
The informational elements that are arranged into the columns row-first.