Skip to content
⌘ NSIS Forum Archive

components page and small description

6 posts

kalverson#

components page and small description

Is there any way to make the small description area a bit larger for more text? I know there is another style for longer descriptions, but the drawback there is a horizontal scroll bar gets used because the checkbox text is too long. It has been deemed by others that seeing all the text without the scroll bar is more important than a longer description. Our tech writer says she can't shorten the smaller description without losing meaning. Just five or six more words would be sufficient. The components area could be a bit smaller in height; that would be ok.
Anders#
Use Resource Hacker on one of the UI files then use the ChangeUI instruction to use this new UI in your script...
Anders#
Originally Posted by Afrow UK View Post
Or you can use the nsResize plug-in.
That's cute, did this plugin even exist when I made my post? 😁
kalverson#
I am trying to use your resize plugin, but it does not seem to be seeing my define for the small description. I am getting the default large description instead which looks very odd and out of place.

!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_PAGE_CUSTOMFUNCTION_PRE ComponentsPre
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentsPage_Show
!insertmacro MUI_PAGE_COMPONENTS
kalverson#
I also got these warnings which is ok I guess.
[exec] 5 warnings:
[exec] unknown variable/constant "mui.FinishPage.Image" detected, ignoring (macro:_nsResize_FinishPage:2)
[exec] unknown variable/constant "mui.FinishPage.Title" detected, ignoring (macro:_nsResize_FinishPage:4)
[exec] unknown variable/constant "mui.FinishPage.Text" detected, ignoring (macro:_nsResize_FinishPage:5)
[exec] unknown variable/constant "mui.FinishPage.Title" detected, ignoring (macro:_nsResize_FinishPage:7)
[exec] unknown variable/constant "mui.FinishPage.Text" detected, ignoring (macro:_nsResize_FinishPage:8)