mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
docs(config.h): 为UI配置常量添加注释说明
This commit is contained in:
+11
-11
@@ -6,23 +6,23 @@
|
|||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
// 对话框设置
|
// 对话框设置
|
||||||
#define UI_DLG_SIZE "500x400"
|
#define UI_DLG_SIZE "500x400" // 对话框默认大小
|
||||||
|
|
||||||
// 列表控件设置
|
// 列表控件设置
|
||||||
#define UI_LIST_ITEM_PADDING "5x5"
|
#define UI_LIST_ITEM_PADDING "5x5" // 列表项内边距
|
||||||
#define UI_LIST_BACKCOLOR "255 255 255"
|
#define UI_LIST_BACKCOLOR "255 255 255" // 列表背景颜色
|
||||||
|
|
||||||
// 按钮设置
|
// 按钮设置
|
||||||
#define UI_BTN_RASTERSIZE "100x32"
|
#define UI_BTN_RASTERSIZE "100x32" // 按钮默认大小
|
||||||
|
|
||||||
// 布局间隙和边距
|
// 布局间隙和边距
|
||||||
#define UI_VBOX_GAP "5"
|
#define UI_VBOX_GAP "5" // 垂直布局项间隙
|
||||||
#define UI_VBOX_MARGIN "0x0"
|
#define UI_VBOX_MARGIN "0x0" // 垂直布局外边距
|
||||||
#define UI_VBOX_ALL_MARGIN "10x10"
|
#define UI_VBOX_ALL_MARGIN "10x10" // 垂直布局总外边距
|
||||||
#define UI_VBOX_ALL_GAP "5"
|
#define UI_VBOX_ALL_GAP "5" // 垂直布局总间隙
|
||||||
|
|
||||||
#define UI_HBOX_GAP "10"
|
#define UI_HBOX_GAP "10" // 水平布局项间隙
|
||||||
#define UI_HBOX_MARGIN "10x10"
|
#define UI_HBOX_MARGIN "10x10" // 水平布局外边距
|
||||||
#define UI_HBOX_ALIGNMENT "ACENTER"
|
#define UI_HBOX_ALIGNMENT "ACENTER" // 水平布局对齐方式
|
||||||
|
|
||||||
#endif // CONFIG_H
|
#endif // CONFIG_H
|
||||||
|
|||||||
Reference in New Issue
Block a user