Skip to content
Version 2.11.0
↓ Get the launcher

CellElement record

Width-controlled column cell — fixes or weights a cell’s width for aligning a Row’s children into a table. Wraps any Child subtree. Width > 0 fixes the cell width (cannot grow/shrink — use for numeric columns like Current / Proj / Δ so they align across the header + every body row regardless of font metrics). Weight > 0 makes the cell GROW to share leftover row width in that proportion (the elastic label column, or master-detail panes — Weight 1 : 2 = ⅓ : ⅔). Width and Weight are mutually exclusive (Width wins if both set); both 0 = natural content size. Per-cell colour stays on the Child (e.g. Color) — the cell owns geometry only. Header and body align by using the SAME cell specs on every Row. Weighted cells require the enclosing Row to be a direct child of a Column / Scroll content / window body (all force-expand width — true for every layout that needs alignment).

public record CellElement : IEquatable<HudElement>
name description
CellElement(…) Width-controlled column cell — fixes or weights a cell’s width for aligning a Row’s children into a table. Wraps any Child subtree. Width > 0 fixes the cell width (cannot grow/shrink — use for numeric columns like Current / Proj / Δ so they align across the header + every body row regardless of font metrics). Weight > 0 makes the cell GROW to share leftover row width in that proportion (the elastic label column, or master-detail panes — Weight 1 : 2 = ⅓ : ⅔). Width and Weight are mutually exclusive (Width wins if both set); both 0 = natural content size. Per-cell colour stays on the Child (e.g. Color) — the cell owns geometry only. Header and body align by using the SAME cell specs on every Row. Weighted cells require the enclosing Row to be a direct child of a Column / Scroll content / window body (all force-expand width — true for every layout that needs alignment).
Child { get; set; }
Weight { get; set; }
Width { get; set; }