API reference
Spacing
Public types, functions, and constants declared in this header.
No matching API members.
Spacing
Constants
const int BaseUnit = 4Base spacing scale on a 4px grid.
Spacing::Padding
Constants
const int ControlHorizontal = 12Generic horizontal control padding.
const int ControlVertical = 8Generic vertical control padding.
const int TextFieldHorizontal = 9Horizontal text inset shared by editors and selection fields.
const int ComboBoxHorizontal = 11Selector chrome inset from the Windows UI Kit; positions the ComboBox chevron.
const int TextFieldVertical = 4Text input vertical padding.
const int Card = 16Card content padding.
const int Dialog = 24Dialog content padding.
const int ListItemHorizontal = 12List item horizontal padding.
const int ListItemVertical = 8List item vertical padding.
Spacing::Border
Constants
const int Normal = 1Default border width.
const int Focused = 2Focus highlight stroke width.
Spacing::Gap
Constants
const int Tight = 4Icon-to-text spacing.
const int Normal = 8Controls in the same group.
const int Loose = 16Controls in different groups.
const int Section = 24Section-to-section spacing.
Spacing::ControlHeight
Constants
const int Small = 24Compact layout.
const int Standard = 32Default TextBox/Button height.
const int Large = 40Spacious layout.