sizeIn

context(scope: ConstrainedScope)
fun SwingModifier.sizeIn(minWidth: Int? = null, minHeight: Int? = null, maxWidth: Int? = null, maxHeight: Int? = null): SwingModifier

Prefers a size inside the bounds named here, with any null bound absent. The constraints the parent offers still take precedence.

Return

this modifier with the preferred size range declared on it.