From 1c651abea2ea0be02ea29fc8296d669b04336037 Mon Sep 17 00:00:00 2001 From: Jonathan Corwin Date: Thu, 6 Dec 2012 22:06:59 +0000 Subject: [PATCH] Set css on specific widgets --- openlp/core/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index 23f129ad0..1b3945fb2 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -133,7 +133,8 @@ class OpenLP(QtGui.QApplication): base_color = self.palette().color(QtGui.QPalette.Active, QtGui.QPalette.Base) application_stylesheet = \ - u'* {alternate-background-color: ' + \ + u'QTableWidget, QListWidget, QTreeWidget ' + \ + u'{alternate-background-color: ' + \ base_color.name() + ';}\n' application_stylesheet += nt_repair_stylesheet self.setStyleSheet(application_stylesheet)