[osg-users] resize an osgWidget::Window

Gianni Ambrosio g.ambrosio+osg at gmail.com
Thu Jun 25 07:57:18 PDT 2015


Hi All,
is there a way to change width and height (non proportional) of a osgWidget::Window?
I tried with resize (w, h) but it does not work, even if I call window->update() after resize.

I found the implementation of callbackWindowScale where addScale is used. But in that case just one value (height) is passed to the method, so for my understanding that's most likely a proportional resizing (scaling, indeed).

Regards,
Gianni

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








More information about the osg-users mailing list