Static class defining UI spacing constants for the Editor AutoRig UI. It centralizes pixel multiples (base 4px) and named gaps like Related, Group, Section, HeaderTop, HeaderBottom, and RowGap.
namespace AutoRig.Editor;
/// <summary>
/// The single source of truth for UI spacing (spec §3, user requirement): everything
/// is a multiple of the 4 px base; no control may touch another control, a header,
/// or a panel edge.
/// </summary>
public static class UiSpacing
{
/// <summary>Base unit; all other values are multiples of this.</summary>
public const int Base = 4;
/// <summary>Gap between related controls (a label and its input, row buttons).</summary>
public const int Related = 8;
/// <summary>Gap between control groups within a section.</summary>
public const int Group = 12;
/// <summary>Gap between sections (and outer panel margins).</summary>
public const int Section = 16;
/// <summary>Space above a section header.</summary>
public const int HeaderTop = 12;
/// <summary>Space below a section header.</summary>
public const int HeaderBottom = 6;
/// <summary>Vertical gap between option/list rows.</summary>
public const int RowGap = 8;
}