Page 1 of 1

Few questions about font

Posted: Tue Jun 26, 2007 1:48 pm
by alfabeta90
How to change the color of a gui static text. I was wondering if you could tell me how to make a new line in a gui static text. I tried /n and \n but ther come nothing.

Posted: Thu Jun 28, 2007 3:41 am
by raven_coda
Use ->setOverrideColor(video::SColor(255,0,255,0));
on a IguiStaticText* to change it's color.

\n should work. Make sure your rect in the static text is large enough to house a line return.