Skip to content
⌘ NSIS Forum Archive

Larger Panel size available?

6 posts

kalverson#

Larger Panel size available?

I think I read about this at one time, but does release 3 of NSIS have an option for larger window panels during the install? I am getting comments now that panels are too small and hard to see especially the components panel. We would like to generate installs with more space in the window/frame/panel (what ever the container is called).
Anders#
Are you using ManifestDPIAware? If you don't (or use "ManifestDPIAware false") then Windows should scale the window for you on High DPI displays.

The MUI component page also has a couple of defines you can set to reduce or remove the section description label which makes the list larger.
Pawel#
Or you can use custom GUI (MUI_UI) with Modern User Interface
Nutzzz#
Another alternative:

Before I switched to UltraModernUI (which I find to be a good size out of the box), I used the NsResize plug-in with Modern UI 2.
kalverson#
I like the NsResize plug-in. I been giving it a try. The components panel is having some trouble with the header image on the right side though. I am using these options, but it mangles my image so it is not recognizable.

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "top_hs.bmp"
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
Nutzzz#
Originally Posted by kalverson View Post
I like the NsResize plug-in. I been giving it a try. The components panel is having some trouble with the header image on the right side though. I am using these options, but it mangles my image so it is not recognizable.
I'm just guessing; I don't know that it supports right-side images, but are you using the specific macros for each page in their show functions? (See the LargeWindow.nsi example.) e.g.:
!define AddWidth 100u
!define AddHeight 75u
; ...
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentsPage_Show
!insertmacro MUI_PAGE_COMPONENTS
; ...
Function ComponentsPage_Show
${nsResize_ComponentsPage} ${AddWidth} ${AddHeight}
FunctionEnd