navigation bar fixed
This commit is contained in:
parent
ea0526ae9d
commit
1f3c036b47
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ void PictureDialog::stylizeDialog()
|
||||||
if (QtWin::isCompositionEnabled())
|
if (QtWin::isCompositionEnabled())
|
||||||
{
|
{
|
||||||
QPalette palette;
|
QPalette palette;
|
||||||
QtWin::extendFrameIntoClientArea(this, 0, this->layout()->menuBar()->height(), 0, 0);
|
QtWin::extendFrameIntoClientArea(this, 0, (layout()->menuBar()->height() * AppEnv::screenRatioPR()), 0, 0);
|
||||||
ui->jsonFrame->setStyleSheet(QString("QFrame { background: %1; }").arg(palette.window().color().name()));
|
ui->jsonFrame->setStyleSheet(QString("QFrame { background: %1; }").arg(palette.window().color().name()));
|
||||||
setStyleSheet("PictureDialog { background: transparent; }");
|
setStyleSheet("PictureDialog { background: transparent; }");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue