guineapig
23rd June 2010 10:48 UTC
how to customize installer buttons
Hi all,
I'm trying to create a custom installer and now I need to change the style of the buttons (cancel, next,...). Is there a way to do it without using the skinnedbutton plugin?
The latter works only if I disable the xpstyle (XpStyle off), but if I do it then the droplist that I created in my installer no longer works.
I tried also using the "SetCtlColors $R0 "0x928e8e" transparent" comand but it does not work.
And if I manually create the buttons then they all have always the default style.
Thank you very much for your help.
Fabio
Afrow UK
23rd June 2010 11:09 UTC
In what way does your drop list not work with XPStyle off?
Stu
guineapig
23rd June 2010 11:15 UTC
I created the droplist using:
${NSD_CreateDropList} 20u 83u 50% 13u ""
Pop $OpCoDropList
If I turn off the XpStyle It simply does not expand the the list. I can see the first element but if I click on it with the mouse then nothing happens. I can browse the elements only using the keyboard arrows.
I thought this was a known issue, isn't it?
Thanks
Anders
23rd June 2010 12:09 UTC
The height of a combobox (when you create the control) is the size of the dropdown, not the "edit" box
guineapig
23rd June 2010 13:57 UTC
ok now it works. Thanks
but now I have an other question: is there a way to style the scrollbar in the license page?
Anders
23rd June 2010 20:36 UTC
style how? NSIS just uses the native windows scrollbar