From 744385cad165303ea68bec991f3a83ccd7e96a81 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Tue, 25 Jan 2022 15:33:11 +0800 Subject: [PATCH] Fixed: iconlist tool tip background color is black. --- PPOCRLabel/PPOCRLabel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 37b70fcc..3b514f48 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -269,8 +269,7 @@ class MainWindow(QMainWindow): self.iconlist.setMovement(QListView.Static) self.iconlist.setResizeMode(QListView.Adjust) self.iconlist.itemClicked.connect(self.iconitemDoubleClicked) - self.iconlist.setStyleSheet("QListWidget{ background-color:transparent; border: none;} " - "QToolTip{ background-color: gray }") + self.iconlist.setStyleSheet("QListWidget{ background-color:transparent; border: none;}") self.iconlist.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.nextButton = QToolButton() self.nextButton.setIcon(newIcon("next", 40)) -- GitLab