LavaUI docs GitHub

enum HorizontalAlignment

Swift

enum HorizontalAlignment

Horizontal placement of content inside a box larger than it.

Sources/LavaUI/Alignment.swift:4

Cases

case leading

Content hugs the leading (left) edge.

Sources/LavaUI/Alignment.swift:6

case center

Content is centred horizontally.

Sources/LavaUI/Alignment.swift:8

case trailing

Content hugs the trailing (right) edge.

Sources/LavaUI/Alignment.swift:10