We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e0506 commit fefe150Copy full SHA for fefe150
App/Client/mainwindow.cpp
@@ -83,6 +83,7 @@ MainWindow::MainWindow(QWidget *parent)
83
//! use a container window to prevent the view window size from changing.
84
QWidget* pContain = new QWidget(this);
85
if(pContain) {
86
+ pContain->setContentsMargins(0, 0, 0, 0);
87
setCentralWidget(pContain);
88
}
89
@@ -595,6 +596,8 @@ void MainWindow::SetView(CView* pView)
595
596
597
auto* pLayout = new QVBoxLayout(pContain);
598
if(pLayout) {
599
+ pLayout->setContentsMargins(0, 0, 0, 0);
600
+ pLayout->setSpacing(0);
601
pContain->setLayout(pLayout);
602
pLayout->addWidget(m_pView);
603
0 commit comments