Fluent-Qt

API reference

Spacing

Public types, functions, and constants declared in this header.

Spacing

Constants

const int BaseUnit = 4

Base spacing scale on a 4px grid.

Spacing::Padding

Constants

const int ControlHorizontal = 12

Generic horizontal control padding.

const int ControlVertical = 8

Generic vertical control padding.

const int TextFieldHorizontal = 9

Horizontal text inset shared by editors and selection fields.

const int ComboBoxHorizontal = 11

Selector chrome inset from the Windows UI Kit; positions the ComboBox chevron.

const int TextFieldVertical = 4

Text input vertical padding.

const int Card = 16

Card content padding.

const int Dialog = 24

Dialog content padding.

const int ListItemHorizontal = 12

List item horizontal padding.

const int ListItemVertical = 8

List item vertical padding.

Spacing::Border

Constants

const int Normal = 1

Default border width.

const int Focused = 2

Focus highlight stroke width.

Spacing::Gap

Constants

const int Tight = 4

Icon-to-text spacing.

const int Normal = 8

Controls in the same group.

const int Loose = 16

Controls in different groups.

const int Section = 24

Section-to-section spacing.

Spacing::ControlHeight

Constants

const int Small = 24

Compact layout.

const int Standard = 32

Default TextBox/Button height.

const int Large = 40

Spacious layout.