From 97c0a0e18c6b7fe4a6570b2f9064ecf21a2e0b3b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 3 May 2010 11:46:13 -0600 Subject: [PATCH] Improve look of QLabel showing search count when restricted --- src/calibre/gui2/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index a36a7535ab..441ed18a9b 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -887,7 +887,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI): self.restriction_count_of_books_in_view = self.current_view().row_count() t = _("({0} of {1})").format(self.current_view().row_count(), self.restriction_count_of_books_in_view) - self.search_count.setStyleSheet('QLabel { background-color: yellow; }') + self.search_count.setStyleSheet('QLabel { border-radius: 8px; background-color: yellow; }') else: # No restriction if all == 'yes': t = _("(all books)")