Make components page more usable?
asmaloney opened this issue · 2 comments
On my components page, the info that the user wants to interact with (the components) is squished by a whole bunch of wasted space:
How do I turn off the left image for a page?
Alternatively, how do I fix the layout so the components use the space better?
(I started with this example from NsisMultiUser. )
You have some option to customize theUI according the documentationi:
To hide the left image:
!define UMUI_NOLEFTIMAGE
To change the component page layout, one of:
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_COMPONENTSPAGE_NODESC
!define UMUI_COMPONENTSPAGE_BIGDESC
You also can create your own UI by coping and editing the resource executable:
NSIS\Contrib\UIs\UltraModernUI\UltraModern.exe
with a tool like Resource Hacker.
You can remove or change position of all components of "standard" NSIS pages.
Finally, define MUI_UI to point to your edited version with this declaration to your script:
!define MUI_UI "MyUMUI.exe"
If you need more support, ask to the NSIS forum
Ah - I didn't see UMUI_NOLEFTIMAGE
because it wasn't next to UMUI_UNLEFTIMAGE_BMP
in the docs :-) That just turns it off for the whole thing - not one page - and it doesn't fix the squished layout.
I thought I'd tried the other options you mention, but I guess I had them defined too late in the script. Once I move them up they have an effect. I can make do with UMUI_COMPONENTSPAGE_BIGDESC
instead of adding more things for me to maintain by hacking the exe :-)
Merci pour l'aide!