maximumSize

Sets maximumSize and relays out; null restores the layout-computed maximum size.

Parameters

size

the ceiling a layout manager is asked to respect once the container has more room than the preferred size.

See also


fun ComponentStyleScope.maximumSize(width: Int, height: Int)

Sets maximumSize to Dimension(width, height) and relays out.

Parameters

width

the largest width a stretching layout manager is asked to grow to.

height

the largest height it is asked to grow to.

See also