maximumSize

Deprecated

Set it in the component's style: style = { maximumSize(size) }

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

Return

this modifier with the maximum size declared on it.

Parameters

size

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

See also


Deprecated

Set it in the component's style: style = { maximumSize(width, height) }

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

Return

this modifier with the maximum size declared on it.

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