docs(config.h): 为UI配置常量添加注释说明

This commit is contained in:
2026-03-18 21:09:13 +08:00
parent a9339f9b9f
commit 276d2c5fe3
+11 -11
View File
@@ -6,23 +6,23 @@
// ============================================================================
// 对话框设置
#define UI_DLG_SIZE "500x400"
#define UI_DLG_SIZE "500x400" // 对话框默认大小
// 列表控件设置
#define UI_LIST_ITEM_PADDING "5x5"
#define UI_LIST_BACKCOLOR "255 255 255"
#define UI_LIST_ITEM_PADDING "5x5" // 列表项内边距
#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_MARGIN "0x0"
#define UI_VBOX_ALL_MARGIN "10x10"
#define UI_VBOX_ALL_GAP "5"
#define UI_VBOX_GAP "5" // 垂直布局项间隙
#define UI_VBOX_MARGIN "0x0" // 垂直布局外边距
#define UI_VBOX_ALL_MARGIN "10x10" // 垂直布局总外边距
#define UI_VBOX_ALL_GAP "5" // 垂直布局总间隙
#define UI_HBOX_GAP "10"
#define UI_HBOX_MARGIN "10x10"
#define UI_HBOX_ALIGNMENT "ACENTER"
#define UI_HBOX_GAP "10" // 水平布局项间隙
#define UI_HBOX_MARGIN "10x10" // 水平布局外边距
#define UI_HBOX_ALIGNMENT "ACENTER" // 水平布局对齐方式
#endif // CONFIG_H