修复qssmain window最大化超出屏幕范围

qt6
ATTIOT\zhengcy 2021-05-12 15:24:13 +08:00
parent 013199e7e5
commit 39946eab3c
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ void QssMainWindow::OnMaxOrRestore(bool max)
rc.setRight(rc.right() - 50);
this->setGeometry(rc);
this->setFixedHeight(rc.height());
this->setFixedHeight(rc.height() - m_titleBar->height());
}
}