Class ScyllaUIVStack
Vertical stack container. Lays out children top-to-bottom along the Y axis with configurable alignment, cross-axis alignment, padding, spacing, and per-axis sizing modes. Extends ScyllaUIStackBase with a fixed vertical orientation.
Inheritance
Implements
Inherited Members
Namespace: Scylla.Core.Util.UI
Assembly: ScyllaCore.dll
Syntax
[AddComponentMenu("Scylla/UI/Layout/Vertical Stack")]
public sealed class ScyllaUIVStack : ScyllaUIStackBase, ILayoutElement
Remarks
Children may carry ScyllaUIFlexElement to specify per-child grow and shrink weights, minimum and preferred sizes, fit mode, and an ignore-layout flag. ScyllaUISpacer can be inserted between children as either a flexible spacer that consumes free main-axis space or a fixed-length spacer.
Nested ScyllaUIStackBase children are solved recursively against
the slot dimensions allocated by this stack. Assign a
ScyllaUILayoutStyle to the Style property to share
padding, spacing, and alignment presets across multiple stacks.
For a stack that switches orientation at runtime based on the parent viewport's aspect ratio, use ScyllaUIAdaptiveStack instead.
Properties
IsHorizontal
Always false for ScyllaUIVStack. The solver reads this
value to determine the main axis: false means Y is the main axis and X is
the cross axis.
Declaration
public override bool IsHorizontal { get; }
Property Value
| Type | Description |
|---|---|
| bool |