Alistair Baxter wrote: > Yeah, we had to override the Qt resizeEvent function for our osgQt::GLWidget > subclass to ensure that neither width nor height were being set to zero > before calling the parent's version. >
Thanks Alistair for your reply. As a workaround I implemented minimumSizeHint() virtual method to return QSize(1,1), but your solution is nicer. Anyway it seems there's something odd in OSG code. In fact osgviewer executed with --window option works fine even if the window height becomes 0. Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58951#58951 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org