KungFooMasta, are you planning to implement the Widget::setSize and Widget::setPosition methods for the 0.9.6 release? They are only in the header file.
hmm.. I see those functions defined in QuickGUIWidget.cpp. I haven't tested them, but they are defined. You can let me know if they have issues.
I am sorry, KungFooMasta... Those methods are really implemented. However, I think I am misunderstanding its usage. I thought the following code (from QuickGUIDemo) would set the size of healButton to 20 x 20 pixels...
QuickGUI::Button* healButton = ninjaWindow->createButton(Ogre::Vector4(0.05,0.69,0.9,0.3));
healButton->setSize(20, 20, QuickGUI::QGUI_GMM_PIXELS);
Besides, when I call setCaption after setSize, it seems the text position is not updated...
Ah, you found a bug! I need to update the textBounds and re align the text after sizing. I will fix this.
Thanks for bringing that up.
With regard to the usage of Widget::setSize, try that code I have posted, please...
I have fixed setSize and setPosition functions, and did a very basic test to see it working.