Setting TextBox background colour

vitefalcon

03-04-2012 17:51:19

Hi Everyone,

I'm trying to set the background colour of a TextBox. I tried setting Colour to the desired colour value (0.181287 0.424342 1) but it doesn't set the background colour and nor does it have any effect at all on TextBox. I have also tried setting Alpha to 1 and setting InheritsAlpha to false to no avail. Am I missing something? Thanks in advance.

Cheers
Vite Falcon

Altren

03-04-2012 22:28:35

Just make Widget with WhiteSkin under your TextBox and then use setColour method.

vitefalcon

03-04-2012 22:47:01

Just make Widget with WhiteSkin under your TextBox and then use setColour method.
I tried that as well. But the text doesn't appear on the TextBox when doing so.

vitefalcon

07-04-2012 17:13:31

*bump*