From f1d4f07dcb8bd93578abb2fc1e289050d7e1c3ee Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周日, 09 2月 2025 11:27:42 +0800 Subject: [PATCH] fix the QML demo --- 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