width
context(scope: ConstrainedScope)
fun SwingModifier.width(intrinsicSize: IntrinsicSize): SwingModifier
fun SwingModifier.width(intrinsicSize: IntrinsicSize): SwingModifier
Prefers the child's intrinsicSize width, while still allowing the constraints the parent offers to override it.
Return
this modifier with the preferred intrinsic width declared on it.
Prefers an exact width, while still allowing the constraints the parent offers to override it.
Return
this modifier with the preferred width declared on it.