widthIn

context(scope: ConstrainedScope)
fun SwingModifier.widthIn(min: Int? = null, max: Int? = null): SwingModifier

Prefers a width between min and max, with either bound absent when it is null. The constraints the parent offers still take precedence.

Return

this modifier with the preferred width range declared on it.