How to set default text color for StaticText in looknfeel?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Aug 15, 2006 02:49

How to set default text color for StaticText in looknfeel?

Postby Rakkar » Thu May 10, 2007 22:11

I did a find in files in the looknfeel to change name="NormalTextColour" initialValue="FF5fb8bb" etc. and did so for


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

Just popping in
Just popping in
Posts: 3
Joined: Wed Jun 11, 2008 02:10

Postby sonic20000 » Thu Jul 24, 2008 08:13

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.

User avatar
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England

Postby CrazyEddie » Thu Jul 24, 2008 09:03

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.



Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests