From 430d245bb94c634047e7b65232eb3e50e2b6e49a Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 21 12æ 2023 22:00:37 +0800 Subject: [PATCH] add more attrib --- examples/mainwindow/light-style.qss | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss index eef4066..6c15e62 100644 --- a/examples/mainwindow/light-style.qss +++ b/examples/mainwindow/light-style.qss @@ -140,7 +140,11 @@ /* Window */ -MainWindow { +MainWindow[custom-style=true] { + background-color: transparent; +} + +MainWindow[custom-style=false] { background-color: #F3F3F3; } -- Gitblit v1.9.1