Class MosaicLayout (2.15.0)

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

A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.


columns int
The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.
tiles MutableSequence[]
The tiles to display.



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

A single tile in the mosaic. The placement and size of the tile are configurable.