LayoutAlign
ceramic.LayoutAlign (Enum)
General-purpose alignment enumeration for UI layouts. Provides directional alignment options that can be used in various layout contexts for positioning child elements.
Constructors
LEFT
LEFT
Align to the left edge. When used horizontally, positions element at the leftmost position.
RIGHT
RIGHT
Align to the right edge. When used horizontally, positions element at the rightmost position.
TOP
TOP
Align to the top edge. When used vertically, positions element at the topmost position.
BOTTOM
BOTTOM
Align to the bottom edge. When used vertically, positions element at the bottommost position.
CENTER
CENTER
Center alignment. Centers the element along the relevant axis (horizontal or vertical). When used in layouts, provides equal spacing on both sides.
Metadata
Name | Parameters |
---|---|
:flatEnum |
- |