mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Cover grid: Suppress the border Qt draws for the list view
This commit is contained in:
parent
492db4c2e8
commit
b9cb69ae6e
@ -880,7 +880,7 @@ class GridView(QListView):
|
|||||||
bgcol = QColor(r, g, b)
|
bgcol = QColor(r, g, b)
|
||||||
pal.setColor(QPalette.ColorRole.Base, bgcol)
|
pal.setColor(QPalette.ColorRole.Base, bgcol)
|
||||||
self.setPalette(pal)
|
self.setPalette(pal)
|
||||||
ss = f'background-color: {bgcol.name()}; '
|
ss = f'background-color: {bgcol.name()}; border: 0px solid {bgcol.name()};'
|
||||||
if tex:
|
if tex:
|
||||||
from calibre.gui2.preferences.texture_chooser import texture_path
|
from calibre.gui2.preferences.texture_chooser import texture_path
|
||||||
path = texture_path(tex)
|
path = texture_path(tex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user