slight changes

This commit is contained in:
fourtf
2018-04-08 17:37:48 +02:00
parent 46a457ea65
commit 8c1240bffd
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -402,7 +402,7 @@ void BaseWindow::showEvent(QShowEvent *event)
SetWindowLongPtr((HWND)this->winId(), GWL_STYLE,
WS_POPUP | WS_CAPTION | WS_THICKFRAME | WS_MAXIMIZEBOX | WS_MINIMIZEBOX);
const MARGINS shadow = {1, 1, 1, 1};
const MARGINS shadow = {8, 8, 8, 8};
DwmExtendFrameIntoClientArea((HWND)this->winId(), &shadow);
}
@@ -416,7 +416,7 @@ void BaseWindow::paintEvent(QPaintEvent *event)
// bool windowFocused = this->window() == QApplication::activeWindow();
painter.fillRect(QRect(0, 1, this->width(), this->height()),
painter.fillRect(QRect(0, 1, this->width() - 0, this->height() - 0),
this->themeManager.window.background);
}
}