Page 1 of 1

How to set default text color for StaticText in looknfeel?

Posted: Thu May 10, 2007 22:11
by Rakkar
I did a find in files in the looknfeel to change name="NormalTextColour" initialValue="FF5fb8bb" etc. and did so for

NormalTextColour
HoverTextColour
PushedTextColour
DisabledTextColour

So now the text color of my buttons are right, but my static text is still white. What do I change for that?

Posted: Thu Jul 24, 2008 08:13
by sonic20000
Hi, I also in need of a solution of this.
I can't find the place to edit statictext text color in looknfeel. where's the place to change the default text colour?
I'm modding from the vanilla looknfeel.

Posted: Thu Jul 24, 2008 09:03
by CrazyEddie
In the looknfeel file, find the WidgetLook definition for the static text, then modify the property specifier for "TextColours" (or add it if it is missing).

For example, in WindowsLook.looknfeel, line 3776:

Code: Select all

<Property name="TextColours" value="tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000" />

Sets the default colour to black, adding this line in vanilla looknfeel would have the same effect.

HTH

CE