mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -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)
|
||||
pal.setColor(QPalette.ColorRole.Base, bgcol)
|
||||
self.setPalette(pal)
|
||||
ss = f'background-color: {bgcol.name()}; '
|
||||
ss = f'background-color: {bgcol.name()}; border: 0px solid {bgcol.name()};'
|
||||
if tex:
|
||||
from calibre.gui2.preferences.texture_chooser import texture_path
|
||||
path = texture_path(tex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user