Problem with StaticText
Posted: Sat Mar 24, 2012 20:12
I've created a StaticText in CEGUI, but I have a problem with the size of the text showed. I want to resize the text but I don't know how to solve.
This is the code:
Thank you!
This is the code:
Code: Select all
nome = CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/StaticText","NomePlayer" + s);
nome->setText("<No Player>");
nome->setPosition(CEGUI::UVector2(CEGUI::UDim(0.3,0),CEGUI::UDim(dim_due+0.01,0)));
nome->setSize(CEGUI::UVector2(CEGUI::UDim(0.3,0),CEGUI::UDim(0.1,0)));
nome->setProperty("FrameEnabled", "False");
Thank you!
