requiredSize

Requires an exact square size, even where it is outside the constraints the parent offers.

Return

this modifier with the required size declared on it.


context(scope: ConstrainedScope)
fun SwingModifier.requiredSize(width: Int, height: Int): SwingModifier

Requires an exact width by height, even where either is outside the constraints the parent offers.

Return

this modifier with the required size declared on it.