fillMaxHeight

context(scope: ConstrainedScope)
fun SwingModifier.fillMaxHeight(@FloatRange(from = 0.0, to = 1.0) fraction: Float = 1.0f): SwingModifier

Makes the child occupy fraction of the greatest bounded height its parent offers it. The result is held between the offered minimum and maximum height. An unbounded height is left unchanged.

Return

this modifier with the height fill declared on it.

Parameters

fraction

the fraction of the offered maximum height to occupy.