Buckcherry
10-01-2009 13:06:12
I can't find any information about how to create a child of a widget.
Any help, please?.
Any help, please?.
Buckcherry
10-01-2009 13:06:12
Five_stars
10-01-2009 13:56:18
// create window
MyGUI::WindowPtr window= mGUI->createWidget<MyGUI::Window>("WindowCS", MyGUI::IntCoord(10, 10, 500, 80), MyGUI::Align::Default, "Overlapped");
// create child edit(fills all client space of parent)
MyGUI::EditPtr edit = window->createWidget<MyGUI::Edit>( "Edit", MyGUI::IntCoord(MyGUI::IntPoint(), window->getClientCoord().size()), MyGUI::Align::Stretch);
Buckcherry
10-01-2009 14:44:39