fix: splitter ratio
This commit is contained in:
@@ -5,6 +5,7 @@ class MyGLWidget : public QOpenGLWidget
|
||||
{
|
||||
public:
|
||||
MyGLWidget(QWidget *parent) : QOpenGLWidget(parent) { }
|
||||
QSize sizeHint() const override { return QSize(-1, -1); }
|
||||
|
||||
protected:
|
||||
void initializeGL() override
|
||||
@@ -14,6 +15,8 @@ protected:
|
||||
f->glClearColor(0.16f, 0.16f, 0.16f, 1.0f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void resizeGL(int w, int h) override
|
||||
{
|
||||
// // Update projection matrix and other size related settings:
|
||||
|
||||
Reference in New Issue
Block a user