Cover grid: Suppress the border Qt draws for the list view

This commit is contained in:
Kovid Goyal 2024-09-15 07:12:24 +05:30
parent 492db4c2e8
commit b9cb69ae6e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)