Fluent-Qt

API 參考

Spacing

本標頭檔宣告的公開型別、函式與常數。

Spacing

常數

const int BaseUnit = 4

基於 4px 網格的基礎間距尺度。

Spacing::Padding

常數

const int ControlHorizontal = 12

通用控制項水平內邊距。

const int ControlVertical = 8

通用控制項垂直內邊距。

const int TextFieldHorizontal = 9

編輯器與選取欄位共用的水平文字內縮量。

const int ComboBoxHorizontal = 11

來自 Windows UI Kit 的選取器外框內縮間距,用於定位 ComboBox 下拉箭頭。

const int TextFieldVertical = 4

文字輸入框垂直內邊距。

const int Card = 16

卡片內容內距。

const int Dialog = 24

對話方塊內容內距。

const int ListItemHorizontal = 12

清單項目水平內距。

const int ListItemVertical = 8

清單項目垂直內距。

Spacing::Border

常數

const int Normal = 1

預設邊框寬度。

const int Focused = 2

焦點醒目提示筆畫寬度。

Spacing::Gap

常數

const int Tight = 4

圖示與文字之間的間距。

const int Normal = 8

同一群組中的控制項。

const int Loose = 16

不同群組中的控制項。

const int Section = 24

區段與區段之間的間距。

Spacing::ControlHeight

常數

const int Small = 24

精簡版面配置。

const int Standard = 32

TextBox/Button 預設高度。

const int Large = 40

寬鬆版面配置。