Old 4th September 2013, 06:39   #1
kcvvel
Junior Member
 
Join Date: Sep 2013
Posts: 4
How to change/overwrite Uninstall Button Size in MUI?

Hi there,

I have revised the uninstall button string with my custom text. New text is getting truncated in Uninstall Button. Now, I need to increase the size of the uninstall button to fix this truncation issue.

I am using MUI. (not MUI 2).

I am looking for option to overwrite the default size of uninstall button to fix this issue. Ii found some method by changing the size in {NSIS DIR}/Contrib/UIs/modern.exe. But, I need to fix this by coding in *.nsi file. Is there anyway to do this?

If so, please help.

Thanks in Advance.

Best Reagrds,
Vetri
P.S: I am a newbie to NSIS and just now started to learn it.
kcvvel is offline   Reply With Quote
Old 4th September 2013, 10:55   #2
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
http://forums.winamp.com/showthread.php?t=245878, post #6; the script shows how to resize a button.

PostEnd:
aerDNA is offline   Reply With Quote
Old 4th September 2013, 15:32   #3
kcvvel
Junior Member
 
Join Date: Sep 2013
Posts: 4
Thanks... But am looking to change the size of default buttons

Thank you very much fro your response.

Suggested thread has the way to change the Browse button size in custom page. I am looking for the option to change Uninstall button size which will be in MUI_UNPAGE_CONFIRM.
kcvvel is offline   Reply With Quote
Old 4th September 2013, 18:07   #4
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
The script in the suggested thread shows you the method to resize any button. However, it's only suitable when it's enough to change the button width/height. Your case is a bit more complex because the button also needs to be moved to the left. Since you're new to NSIS, it would probably take you a while to get it right, so here:
Attached Files
File Type: nsi BigBtn.nsi (2.0 KB, 211 views)

PostEnd:
aerDNA is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
button, button size, size, uninstall, uninstall button

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