ui.Grid

ui.Grid

class

Grid of equal cells, filled row by row

Fields

NameTypeDescription
columns integer Cells per row, at least one
gap number Space kept between cells in slate units

Functions

ui.Grid:add(child)

Put a widget in the next free cell

child ui.Widget Widget to place

ui.Grid:clear()

Drop every child, leaving the grid empty

Inherited from ui.Widget (1)
  • visible Hidden widgets keep their place in the tree and take no input
Inherited from Object (5)