gravity

fun gravity(horizontalGravity: Align): Modifier

Sets the horizontal gravity for the UIElement

Return

this

Parameters

horizontalGravity

The horizontal alignment


fun gravity(verticalGravity: AlignV): Modifier

Sets the vertical gravity for the UIElement

Return

this

Parameters

verticalGravity

The vertical alignment