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 | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss index eef4066..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; } @@ -144,6 +146,10 @@ background-color: #F3F3F3; } +MainWindow[custom-style=true] { + background-color: transparent; +} + QWidget#clock-widget { font-size: 75px; color: #333333; -- Gitblit v1.9.1