Skip to content
Version 2.32.0
↓ Get the launcher

RowElement record

Horizontal layout container: children arranged left-to-right with optional spacing.

public record RowElement : IEquatable<HudElement>
name description
RowElement(…) Horizontal layout container: children arranged left-to-right with optional spacing. (2 constructors)
Children { get; set; } Child elements arranged horizontally.
ConstrainsWindowMinWidth { get; set; } When true, this row’s NATURAL width (the sum of its children’s preferred widths + gaps) becomes a floor on the window’s minimum width: the window can’t be grip-resized narrower than the row needs, a saved layout narrower than that is widened on load, and the window widens once if the requirement grows later (a language / font-scale / theme change). The window never shrinks automatically. The window minimum is the largest requirement across every marked row that is currently shown, never below MinWidth and capped at MaxWidth. Use it on a row that must never overflow in any language (a tab strip, an input/action row). Only Resizable windows are affected — a content-sized window already sizes to its content. A BubbleElement nested inside a marked row hugs its natural width (it is not capped to its parent’s width), so it can’t shrink the very measurement that is meant to make room for it.
Gap { get; set; } Spacing in pixels between each child.
Justify { get; set; } How children are packed horizontally; default Left.
OnHover { get; set; } Optional — fires with true when the pointer enters the row’s rectangle and false when it leaves (or the row is hidden). Ticker-driven, the same hover hook OnHover uses, so a window in front that covers the pointer counts as “not over”; never fires in the static sandbox. Unlike a SelectableElement it adds NOTHING to the row — no tint, no padding, no click target — so it can reveal hover-only controls (e.g. a per-message action button) without changing the row’s look or layout. Default null = unchanged. An init property (binary-compatible).