简体   繁体   中英

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. 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:

page components
!define MUI_PAGE_CUSTOMFUNCTION_SHOW InstFilesShow
!insertmacro MUI_PAGE_INSTFILES 

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 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM