align

abstract fun SwingModifier.align(alignment: Alignment): SwingModifier

Places the child at alignment on both axes, in place of the box's own contentAlignment.

Return

this modifier with the child's alignment declared on it.

Parameters

alignment

where the child sits in the box