niranjansnair
16th December 2011 05:25 UTC
Is it possible to edit the alignment of controls in EULA screen
Hi all,
I am creating an installer with NSI Script, I would like to reduce the spacing between the controls in the EULA screen. Especially I want to reduce the space on either side of the separator. Is it possible if yes How?
MSG
16th December 2011 06:13 UTC
If you're using MUI(2), you can edit NSIS\Contrib\Modern UI 2\Pages\License.nsh to your liking. Or you can edit the page in the page's SHOW function using nsDialogs and win32 api (long way around).
Afrow UK
16th December 2011 10:08 UTC
The page isn't a nsDialogs page so modifying License.nsh will not help you. You can either resize the controls at run-time using SetWindowPos API (via System plug-in) or you can modify the actual resource (UIs\modern.exe) pre-compile using Resource Hacker. Make a copy of the UI and put it in your script folder and set it using !define MUI_UI my_ui.exe.
Stu
MSG
16th December 2011 12:09 UTC
Doh, how often am I going to make that mistake before I learn to actually check the nsh file. ~_~
Afrow UK
16th December 2011 12:21 UTC
Only the welcome and finish pages are made with nsDialogs. All other pages except the start menu page are standard NSIS dialogs in the UI.
Stu
NOCaut
21st December 2011 14:40 UTC
how set licenwse space more large in down?
T.Slappy
22nd December 2011 06:04 UTC
Use Reshacker and edit license dialog - but also you will need to modify outer [main] dialog.