From d3d7430ec9afb94abaf78fa2c9edd9d9f946881c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 18 12月 2023 01:29:07 +0800
Subject: [PATCH] Add QtContext WinIdChange workaround

---
 examples/mainwindow/dark-style.qss |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index 43ea3ee..383eee6 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -16,6 +16,7 @@
     border: none;
     color: #ECECEC;
     background-color: transparent;
+    min-height: 28px;
 }
 
 
@@ -62,8 +63,8 @@
 /* Icon button */
 
 QWK--WindowBar>QAbstractButton#icon-button {
-    qproperty-iconNormal: url(":/window-bar/icon.svg");
-    qproperty-iconSize: 20px 20px;
+    qproperty-iconNormal: url(":/app/example.png");
+    qproperty-iconSize: 18px 18px;
     min-width: 40px;
     border: none;
     padding: 0;

--
Gitblit v1.9.1