Skip to content
Version 2.11.0
↓ Get the launcher

SpacerElement record

Gap inside a Row. Width = 0 → flexible (expands to push following siblings to the far edge); > 0 → a fixed-width spacer (e.g. to balance a right-aligned control so a centred element is TRULY centred, not centred-minus-that-control). Height > 0 → a fixed-height gap (use in a Column for a little vertical margin between sections, no divider line).

public record SpacerElement : IEquatable<HudElement>
name description
SpacerElement(…) Gap inside a Row. Width = 0 → flexible (expands to push following siblings to the far edge); > 0 → a fixed-width spacer (e.g. to balance a right-aligned control so a centred element is TRULY centred, not centred-minus-that-control). Height > 0 → a fixed-height gap (use in a Column for a little vertical margin between sections, no divider line).
Height { get; set; }
Width { get; set; }