Enum ScyllaUIAlignment
Main-axis distribution mode for a Scylla UI stack container (ScyllaUIHStack, ScyllaUIVStack). Decides how children are positioned and how free space is allocated along the main axis.
Namespace: Scylla.Core.Util.UI
Assembly: ScyllaCore.dll
Syntax
public enum ScyllaUIAlignment
Remarks
Start, Center, and End place children
in a compact run at the corresponding end of the stack; remaining main-axis
space sits on the opposite side. SpaceBetween,
SpaceAround, and SpaceEvenly distribute the
remaining space as gaps between (and optionally around) children, similar to
the CSS justify-content property.
Fields
| Name | Description |
|---|---|
| Center | Children are packed in the middle of the main axis. Free space is split equally between start and end. |
| End | Children are packed at the end of the main axis (bottom for vertical, right for horizontal). Free space sits at the start. |
| SpaceAround | Equal gaps around each child. Half-gaps appear at the ends so the spacing between children is twice the spacing at the ends. |
| SpaceBetween | Equal gaps between children, no gap at the ends. The first child sits at the start and the last child sits at the end. |
| SpaceEvenly | Equal gaps everywhere including the ends. The end gaps and the inter-child gaps are all the same size. |
| Start | Children are packed at the start of the main axis (top for vertical stacks, left for horizontal stacks). Free space sits at the end. |