diff --git a/include/config.h b/include/config.h index 1a0fc8a..2efadda 100644 --- a/include/config.h +++ b/include/config.h @@ -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