mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
feat(installer): 添加Inno Setup安装脚本并调整对话框按钮尺寸
- 新增dist/installer.iss用于生成Windows安装程序 - 将自定义输入对话框的按钮尺寸从80x25调整为100x32以改善视觉效果 - 删除不再使用的path_list.txt文件
This commit is contained in:
+2
-3
@@ -92,12 +92,11 @@ int custom_input_dialog(const char *title, const char *label_text, char *buffer,
|
||||
|
||||
Ihandle *btn_ok = IupButton("确定", NULL);
|
||||
IupSetCallback(btn_ok, "ACTION", on_dialog_ok);
|
||||
IupSetAttribute(btn_ok, "RASTERSIZE", "80x25");
|
||||
// 设置为默认按钮
|
||||
IupSetAttribute(btn_ok, "RASTERSIZE", "100x32");
|
||||
|
||||
Ihandle *btn_cancel = IupButton("取消", NULL);
|
||||
IupSetCallback(btn_cancel, "ACTION", on_dialog_cancel);
|
||||
IupSetAttribute(btn_cancel, "RASTERSIZE", "80x25");
|
||||
IupSetAttribute(btn_cancel, "RASTERSIZE", "100x32");
|
||||
|
||||
Ihandle *vbox = IupVbox(
|
||||
IupLabel(label_text),
|
||||
|
||||
Reference in New Issue
Block a user