Enum ScyllaUICrossAlignment
Cross-axis alignment mode for the children of a Scylla UI stack container. Maps
conceptually to the CSS align-items property.
Namespace: Scylla.Core.Util.UI
Assembly: ScyllaCore.dll
Syntax
public enum ScyllaUICrossAlignment
Remarks
The cross axis is the one perpendicular to the stack's main axis: vertical for ScyllaUIHStack, horizontal for ScyllaUIVStack.
Stretch expands each child to fill the cross-axis dimension of the stack (subject to per-child preferred and maximum sizes). The other modes leave the child at its preferred cross-axis size and place it at the corresponding side or center.
Fields
| Name | Description |
|---|---|
| Center | Children are centered along the cross axis. |
| End | Children sit at the end of the cross axis (bottom for horizontal stacks, right for vertical stacks). |
| Start | Children sit at the start of the cross axis (top for horizontal stacks, left for vertical stacks). |
| Stretch | Children expand to fill the cross-axis dimension of the stack. |