wrapper

inline fun Table.wrapper(crossinline width: Table.(originalWidth: Float) -> Float = { it }, crossinline height: Table.(originalHeight: Float) -> Float = { it }, crossinline builder: Table.() -> Unit): Cell<Table>

Adds a wrapper table with dynamic preferred size and returns the created cell. The size of the table is dynamic and is determined by the output of the width and height lambdas.

Parameters

width

provides the width of the table.

height

provides the height of the table.