From b9cb69ae6e1c0f990f2b33702faccc1a05e56215 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Sep 2024 07:12:24 +0530 Subject: [PATCH] Cover grid: Suppress the border Qt draws for the list view --- src/calibre/gui2/library/alternate_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/library/alternate_views.py b/src/calibre/gui2/library/alternate_views.py index 51b30af716..8160cda63a 100644 --- a/src/calibre/gui2/library/alternate_views.py +++ b/src/calibre/gui2/library/alternate_views.py @@ -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)