attachNextTo
open fun attachNextTo(child: Widget, sibling: Widget? = null, side: PositionType, width: Int, height: Int)
Adds a widget to the grid.
The widget is placed next to @sibling, on the side determined by
Parameters
child
the widget to add
sibling
the child of @grid that @child will be placed next to, or null to place @child at the beginning or end
side
the side of @sibling that @child is positioned next to
width
the number of columns that @child will span
height
the number of rows that @child will span