Enum ScyllaUITrackSizingMode
Sizing mode for a single column or row track in ScyllaUIGrid. Drives how the grid solver allocates space to each track.
Namespace: Scylla.Core.Util.UI
Assembly: ScyllaCore.dll
Syntax
public enum ScyllaUITrackSizingMode
Remarks
The solver resolves tracks in two passes: first all Fixed,
Auto, and MinMax tracks are sized against the
available space (and the grid's content for Auto), then any
remaining space is distributed to Fractional tracks proportional
to their fractional weight (the CSS fr unit equivalent).
Fields
| Name | Description |
|---|---|
| Auto | Track sizes to the maximum content extent of its assigned children on this
axis. Equivalent to CSS |
| Fixed | Track has an explicit size in ScyllaUILength units. |
| Fractional | Track size is a positive fractional weight; remaining space after fixed/auto
tracks resolve is distributed proportionally to |
| MinMax | Track size is clamped between an explicit minimum and maximum ScyllaUILength pair. Useful for "at least N, at most M" responsive tracks. |