mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tag browser and ebook viewer toc: Use the general forground color as the text color rather than the foreground color for item views
This commit is contained in:
parent
7b873bdf82
commit
c479134d21
@ -104,7 +104,7 @@ class TagsView(QTreeView): # {{{
|
|||||||
self.setStyleSheet('''
|
self.setStyleSheet('''
|
||||||
QTreeView {
|
QTreeView {
|
||||||
background-color: palette(window);
|
background-color: palette(window);
|
||||||
color: palette(text);
|
color: palette(window-text);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ class TOCView(QTreeView):
|
|||||||
self.setStyleSheet('''
|
self.setStyleSheet('''
|
||||||
QTreeView {
|
QTreeView {
|
||||||
background-color: palette(window);
|
background-color: palette(window);
|
||||||
color: palette(text);
|
color: palette(window-text);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
QTreeView::item {
|
QTreeView::item {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user