简体   繁体   English

如何调整NSIS MUI_PAGE_INSTFILES中的节的列表框的大小

[英]How to resize the list box of sections in NSIS MUI_PAGE_INSTFILES

I want to change the basic style of the Install Files page of NSIS. 我想更改NSIS安装文件页面的基本样式。 Currently it shows a list box of sections and i want that the width of this listbox will change automatically according to it's content. 目前,它显示了一个节的列表框,我希望此列表框的宽度将根据其内容自动更改。

And maybe to remove the other empty listbox as shown in the image below. 也许删除另一个空的列表框,如下图所示。 thanks. 谢谢。

I'm using MUI2 and there is the code: 我正在使用MUI2,代码如下:

page components
!define MUI_PAGE_CUSTOMFUNCTION_SHOW InstFilesShow
!insertmacro MUI_PAGE_INSTFILES 

http://i.stack.imgur.com/T3VD5.png http://i.stack.imgur.com/T3VD5.png

it happens because of this use 因为这种用途而发生

page components

i changed to this and added the 我改变了这一点,并添加了

**!define MUI_COMPONENTSPAGE_NODESC**
!define MUI_COMPONENTSPAGE
!insertmacro MUI_PAGE_COMPONENTS

it works :) 有用 :)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 NSIS如何在安装过程中修改MUI_PAGE_INSTFILES? - NSIS How to modify MUI_PAGE_INSTFILES during installtion? 如何在NSIS中的MUI_PAGE_INSTFILES上显示自定义文本 - How to display a custom text on MUI_PAGE_INSTFILES in NSIS 如何在NSIS中设置MUI_PAGE_INSTFILES的位置? - How to set position of MUI_PAGE_INSTFILES in NSIS? NSIS:当MUI_PAGE_INSTFILES完成时,如何自动按“下一步”按钮 - NSIS: How to press “Next” button automatically when MUI_PAGE_INSTFILES is complete 如果存在两个MUI_PAGE_INSTFILES,如何更改MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT - How to change MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT if exists two MUI_PAGE_INSTFILES 添加到MUI_PAGE_INSTFILES的链接不显示 - Added link to MUI_PAGE_INSTFILES does not show 为什么当我添加自定义 nsDialog 页面时,我的 NSIS 脚本似乎跳过了 MUI_PAGE_INSTFILES 等安装页面? - Why does my NSIS script appear to be skipping over installation pages like MUI_PAGE_INSTFILES when I add custom nsDialog pages? 如何在MUI instfiles页面中更改进度栏长度并安排按钮位置? - How to change Progress bar length in MUI instfiles page and arrange button position? 模拟下一次单击 INSTFILES 页面以将用户带到自定义页面 (NSIS) - Simulate next click on INSTFILES page to take user to a Custom Page (NSIS) 将 MUI2 用于 NSIS 时,如何修改 MUI_WELCOME_PAGE 中的文本? - How can I modify the text in the MUI_WELCOME_PAGE when using MUI2 for NSIS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM