mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
OpenCS: Remove margin around the render window
This commit is contained in:
parent
b58a63e14e
commit
169fc6a61b
@ -52,6 +52,7 @@ RenderWidget::RenderWidget(QWidget *parent, Qt::WindowFlags f)
|
||||
|
||||
osg::ref_ptr<osgQt::GraphicsWindowQt> window = new osgQt::GraphicsWindowQt(traits.get());
|
||||
QLayout* layout = new QHBoxLayout(this);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(window->getGLWidget());
|
||||
setLayout(layout);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user