Actual Installer 7.5
I want to make changes to color of fonts in setup program by creating an aifont.ini file in <SetupTempDir> on Files and Folders page.
I already created the aifont.ini file.
Now I have to specify the value of "HeaderColor=?" and "TextColor=?" The default value is "0".
How do I set other color values?
I have tried other numbers like "1,2,3", etc., "RGB(x,y,z)", hex numbers like "#808080", but this doesn't work. The result is always black color.
I have also noticed that for the strings "By installing this product you agree to our..." and "Copyright..." the default color doesn't change, in spite of the aifont.ini file.
Change font color
Re: Change font color
For font color use HEX code of color:
https://www.rapidtables.com/convert/col ... o-rgb.html
E.g. to use the Purple color use $800080
note that the color code should begin with the symbol $
Colors for the License and Copyright text cannot be changed.
https://www.rapidtables.com/convert/col ... o-rgb.html
E.g. to use the Purple color use $800080
Code: Select all
HeaderColor=$800080
Colors for the License and Copyright text cannot be changed.
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: Change font color
Thank you.
But it's a pity that in the Modern UI the color for e.g the text"By installing this product, you agree to our" and the text "Copyright" cannot be changed. On my custom background that grey text is hardly readable.
May I suggest to make it possible to change that text color in a future program update? At least may I suggest to make the color for those strings "dark grey" yourselves, so it remains readable on some darker backgrounds?
But it's a pity that in the Modern UI the color for e.g the text"By installing this product, you agree to our" and the text "Copyright" cannot be changed. On my custom background that grey text is hardly readable.
May I suggest to make it possible to change that text color in a future program update? At least may I suggest to make the color for those strings "dark grey" yourselves, so it remains readable on some darker backgrounds?
Re: Change font color
Sure, we'll add this feature in next version.
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: Change font color
It's strange: when I use $FF0000 AI shows me blue color instead of red and when use $0000FF AI shows me red color instead of blueLeo wrote:For font color use HEX code of color:
https://www.rapidtables.com/convert/col ... o-rgb.html
E.g. to use the Purple color use $800080note that the color code should begin with the symbol $Code: Select all
HeaderColor=$800080
Also for other codes AI returns wrong colors.
Could you find out what's going wrong? Is the syntax correct?
Edit: I am also wondering why the color code must begin with the dollar sign ($) and not with the pound/number/hashtag symbol (#) as usually for hex colors.
Re: Change font color
That's strange. I'll resend this to our developers.
Thank you for notifying.
Thank you for notifying.
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: Change font color
The entered hex color code seems to be misinterpreted somehow. AI Showing ALWAYS other colors, i.e. not corresponding to the given hex code.
I wonder if this has something to do with the encoding/character set of the ini-file (UTF-8 with or without BOM, etc.).
Could you please come back here when the developers have found the solution/fix?
I wonder if this has something to do with the encoding/character set of the ini-file (UTF-8 with or without BOM, etc.).
Could you please come back here when the developers have found the solution/fix?