kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / add

add

open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel

Adds child component to the grid.

Parameters

child - child component

col - column number

row - row number

size - cell size (colspan)

offset - cell offset

Return
this container

open fun add(child: Component): ResponsiveGridPanel

Overrides SimplePanel.add

Adds given component to the current container.

Parameters

child - child component

Return
current container