diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 4ef274a17934f6dd0996942f3ac5b58b2d88ba47..37b70fcc8d21a22789b8579bec40cfb6a395f3b5 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -269,7 +269,8 @@ class MainWindow(QMainWindow): self.iconlist.setMovement(QListView.Static) self.iconlist.setResizeMode(QListView.Adjust) self.iconlist.itemClicked.connect(self.iconitemDoubleClicked) - self.iconlist.setStyleSheet("background-color:transparent; border: none;") + self.iconlist.setStyleSheet("QListWidget{ background-color:transparent; border: none;} " + "QToolTip{ background-color: gray }") self.iconlist.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.nextButton = QToolButton() self.nextButton.setIcon(newIcon("next", 40))