There is no direct way. You can pad the text with spaces from both sizes, but you can never be sure it will work on all configurations.
Is it possible
39 posts
You have a multi-line message box and want the text to be centered? I don't think that's a good idea (it doesn't look nice and isn't the Windows style).
Ok just wondered
Anyhow last question, how do I go about changing the text colour of the Finish page link without editing the System.nsh?
Anyhow last question, how do I go about changing the text colour of the Finish page link without editing the System.nsh?
Use the TxtColor setting (see InstallOptions Readme).
No I'm using the
!define MUI_FINISHPAGE_LINK
!define MUI_FINISHPAGE_LINK_LOCATION
in my script, and since the colour is defined in the System.nsh file for the link how would I change it for my script to refer to changing the colour, do I have to create a new ini file, if so, how do I tell it to to change the link colour on the Finish page
plus I'm already using the !define MUI_SPECIALINI for ini file for the link on the Welcome page
!define MUI_FINISHPAGE_LINK
!define MUI_FINISHPAGE_LINK_LOCATION
in my script, and since the colour is defined in the System.nsh file for the link how would I change it for my script to refer to changing the colour, do I have to create a new ini file, if so, how do I tell it to to change the link colour on the Finish page
plus I'm already using the !define MUI_SPECIALINI for ini file for the link on the Welcome page
You should simply write the desired TxtColor value into ioSpecial.ini in the pre function of the finish page. Look for MUI_CUSTOMFUNCTION_FINISH_PRE in the MUI readme for more information about the pre function of the finish page.
I'll add a setting to the Modern UI. That's easier for you 🙂
Edit: done 🙂 Get the latest development version and use MUI_FINISHPAGE_LINK_COLOR. See Readme for details.
Edit: done 🙂 Get the latest development version and use MUI_FINISHPAGE_LINK_COLOR. See Readme for details.
Thanks so much this will help alot
That was so easy, Thanks you 🙂