Skip to content
⌘ NSIS Forum Archive

Able to change text color? (Modern UI, header, Welcome page, Finish page)

6 posts

micsun#

Able to change text color? (Modern UI, header, Welcome page, Finish page)

Is it possible to change the text color on a Modern UI?

According to http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html I can change the color of the background using MUI_BGCOLOR, but if I use a darker color, the black text will not contrast well with the dark background.

I would like to have a dark background color (dark blue --> "D7E9FE") and have the text a lighter color (white --> "FFFFFF").

I don't see any settings to do this at the page above. Can anyone help or is this something that should be under the feature request section? 😕
Red Wine#
Take a look here,

micsun#
I tried using the example on that page and when clicking "Back" on any page, all the color changes that were originally there seem to go away (also happens when I tried implementing this example into my script).

Is there a way to fix this? I'm not familiar with the _PRE, _SHOW and _LEAVE functionality so I'll start reading up on this.

Thanks again 🙂
micsun#
Oh, and shouldn't there be a setting like "MUI_FGCOLOR" or "MUI_COLOR", etc? (is there already?)

If the user can change the background color using a command, they really should be able to change the foreground color with a similar setting, without using a workaround.