hider

inline fun Table.hider(crossinline hideHorizontal: Table.() -> Boolean = { false }, crossinline hideVertical: Table.() -> Boolean = { false }, crossinline builder: Table.() -> Unit): Cell<Table>

Adds a table that returns 0 if its preferred width / height if the respective lambda returns true, or it's real preferred size otherwise.

Parameters

hideHorizontal

whether to return 0 as width.

hideVertical

whether to return 0 as height.