Old 13th March 2015, 17:55   #1
kalverson
Senior Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
Question 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.
kalverson is offline   Reply With Quote
Old 13th March 2015, 19:03   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Use Resource Hacker on one of the UI files then use the ChangeUI instruction to use this new UI in your script...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 15th March 2015, 10:24   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Or you can use the nsResize plug-in.

Stu
Afrow UK is offline   Reply With Quote
Old 15th March 2015, 11:10   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Quote:
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?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th March 2015, 17:43   #5
kalverson
Senior Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
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 is offline   Reply With Quote
Old 16th March 2015, 17:59   #6
kalverson
Senior Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
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)
kalverson is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump