I've got a problem:
I create an EditBox where a player can type his name.
But when I click in this widget a blue cursor appears but I can't do a input.
Here is the code how I create the EditBox:
Code: Select all
Window* editName = WindowManager::getSingleton().createWindow("Vanilla/Editbox","Name_Edit");
editName->setPosition(UVector2(cegui_reldim(0.45), cegui_reldim( 0.3)));
editName->setSize(UVector2(cegui_reldim(0.50f), cegui_reldim( 0.1)));
editName->setProperty("MaxTextLength","50");
editName->setProperty("ReadOnly","False");
frame->addChildWindow(editName);
What I have to do to get this work?
Thanks for reply.
Ciao J...