Hi,

I have an osgViewer as a widget on a main window, but it will not resize on 
dragging the main window extents.

If I simply replace the osgViewer with say a QPushButton, the resizing works as 
expected. (i.e. no other code changes)

I've tried resetting the camera viewport in the appropriate Qt ResizeEvent 
method (which is confirmed to be called on the drag...) using 
camera->setViewport etc.

However, the OSG view refuses to follow the main window size.

What is the correct way to do this?

Many thanks

Kevin

...

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





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

Reply via email to