Hi,
I have an interface with a qGLwidget and some layouts with widgets to interact with. My question is, when I run my app, when I expand the frame of the app, is there a way to just expand my qGLwidget?
Thanks
Printable View
Hi,
I have an interface with a qGLwidget and some layouts with widgets to interact with. My question is, when I run my app, when I expand the frame of the app, is there a way to just expand my qGLwidget?
Thanks
QGLWidget is a QWidget so you need to set SizePolicies.
After that you can reimplement QGLWidget::resizeGL() in order to setup the viewport according new sizes