I'm developing a window application, using Qt + Ogre + CEGUI.
The application is almost ready, but there is a problem with the position of some CEGUI elements. All CEGUI elements are created in C++ code.
I also create the GUISheet in C++.
This is how we create the GuiSheet:
Code: Select all
CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton();
CEGUI::Window* _ceguiWindow = winMgr.createWindow( "DefaultWindow", "GUISheet" );
_ceguiWindow->setProperty("InheritsAlpha", "False");
_ceguiWindow->setUsingAutoRenderingSurface(false);
_ceguiWindow->setProperty("UnifiedMaxSize", "{{1,0},{1,0}}");
_ceguiWindow->setProperty("UnifiedSize", "{{1,0},{1,0}}");
_ceguiWindow->setProperty("UnifiedAreaRect", "{{0,0},{0,0},{1,0},{1,0}}");
The problem see can be seen in this 2 videos
1. http://www.youtube.com/watch?v=nx6TzYhSkrY
2. http://www.youtube.com/watch?v=4aOw3VcI95g
After resizing a window, the GuiSheet seems to have a max size, and it doesn't get's bigger then that. Even if I start with a very large window, the GUISheet doesn't get bigger then what it is seen in video 2.
I'm out of ideias how could I solve this problem.