createWrapper

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

Creates a wrapper table with dynamic preferred size and returns it. 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.