From 39946eab3ca088d7e7147a6659d72d1c045dcd93 Mon Sep 17 00:00:00 2001 From: "ATTIOT\\zhengcy" Date: Wed, 12 May 2021 15:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dqssmain=20window=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E5=8C=96=E8=B6=85=E5=87=BA=E5=B1=8F=E5=B9=95=E8=8C=83?= =?UTF-8?q?=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Qss.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Qss.cpp b/Qss.cpp index bc06fcb..bed9815 100644 --- a/Qss.cpp +++ b/Qss.cpp @@ -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()); } }