From 6f4ab6474fa81556b1d90f6f87f8322282d054db Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周六, 08 2月 2025 21:46:13 +0800 Subject: [PATCH] fix unwanted title bar when special effect is enabled --- examples/mainwindow/light-style.qss | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss index 6c15e62..9180001 100644 --- a/examples/mainwindow/light-style.qss +++ b/examples/mainwindow/light-style.qss @@ -1,11 +1,13 @@ /* Window bar */ QWK--WindowBar[bar-active=true] { - background-color: #195ABE; + /*background-color: #195ABE;*/ + background-color: transparent; } QWK--WindowBar[bar-active=false] { - background-color: #195ABE; + /*background-color: #195ABE;*/ + background-color: transparent; } @@ -140,12 +142,12 @@ /* Window */ -MainWindow[custom-style=true] { - background-color: transparent; +MainWindow { + background-color: #F3F3F3; } -MainWindow[custom-style=false] { - background-color: #F3F3F3; +MainWindow[custom-style=true] { + background-color: transparent; } QWidget#clock-widget { -- Gitblit v1.9.1