heightIn

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

Prefers a height 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 height range declared on it.