Hi Robert,
then there is something missing somewhere or a mistake from my side.

I derived from osgQT::GLWidget to have a QGLWidget to insert in my GUI.
When the application starts I basically add an osgWidget::Widget (or even a 
osgWidget::Label) to an osgWidget::WindowManager. The problem is that all 
widgets have a small size even if the resizeEvent implementation of 
osgQt::GLWidget is executed. Only when I resize the Qt window containing the 
osgQt::GLWidget and the resizeEvent in executed again, the widgets are 
correctly resized.
On the other side if I resize the Qt window "before" adding widgets to the 
osgWidget::WindowManager then, in this case, widgets are correctly shown 
immediately.

I'm sorry but at the moment I don't have a simple example.

Regards,
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52960#52960





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to