From 5e384934033b6e28e4c5891be365ca9aad1f7497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 15 Dec 2023 22:47:22 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluWindow.qml | 2 +- src/Qt6/imports/FluentUI/Controls/FluWindow.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml index d7c19bd0..94fd29eb 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml @@ -201,7 +201,7 @@ Window { id:layout_content anchors.fill: parent anchors.margins: { - if(FluTools.isWin()){ + if(FluTools.isWin() && !window.useSystemAppBar){ return window.visibility === Window.Maximized ? 8 : 0 } return 0 diff --git a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml index 15d72689..7b817bb8 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml @@ -200,7 +200,7 @@ Window { id:layout_content anchors.fill: parent anchors.margins: { - if(FluTools.isWin()){ + if(FluTools.isWin() && !window.useSystemAppBar){ return window.visibility === Window.Maximized ? 8 : 0 } return 0