Text colour for ComboDropList/StaticText (TaharezLook based)

Help and discussion regarding skinning, themes, and other artistic content.

Moderators: CEGUI MVP, CEGUI Team

dewyatt
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Sat Jun 14, 2008 21:26

Text colour for ComboDropList/StaticText (TaharezLook based)

Postby dewyatt » Sun Aug 31, 2008 19:14

I'm making a skin (from TaharezLook) and I'm pretty happy with it so far.
But I can't find any place to set the text colour for the ComboDropList or StaticText controls.
I guess I'm missing something.
The text is white and I need it to be black.

I searched and all I really found was:
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1984

So is it not possible to control the font color in the looknfeel for ComboDropList?
And what about StaticText?

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

Postby CrazyEddie » Mon Sep 01, 2008 09:00

The items that you add to a combo box are not skinned via the Falagard looknfeel system, and so the information / setting has to be applied via the item class itself. This can be done either by setting the text colour as in the thread you linked - perhaps via a helper 'create' function, or you could subclass ListboxTextItem and set a new default that way.

For StaticText, see http://www.cegui.org.uk/phpBB2/viewtopic.php?t=2584

CE.

dewyatt
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Sat Jun 14, 2008 21:26

Postby dewyatt » Mon Sep 01, 2008 14:23

Thanks, I got it looking rather nice now.


Return to “Skins and Themes”

Who is online

Users browsing this forum: No registered users and 26 guests