From b8d6555b9e89683c6636d4482ed75ffd61821363 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 27 Sep 2022 07:25:01 +0530 Subject: [PATCH] Fix #1990878 [[Enhancement] Add more padding to Search text of all books window](https://bugs.launchpad.net/calibre/+bug/1990878) --- src/calibre/gui2/fts/search.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/fts/search.py b/src/calibre/gui2/fts/search.py index f2e991db68..640813cac9 100644 --- a/src/calibre/gui2/fts/search.py +++ b/src/calibre/gui2/fts/search.py @@ -697,11 +697,12 @@ class DetailsPanel(QStackedWidget): hp.setDefaultStyleSheet('a { text-decoration: none; }') hp.setHtml(''' +
''' + _('''
Search for single words

Simply type the word:

@@ -719,7 +720,7 @@ p { margin: 0; }

Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.

Full syntax reference
-''').format(fts_url=fts_url)) +''' + '
').format(fts_url=fts_url)) hp.setFocusPolicy(Qt.FocusPolicy.NoFocus) hp.document().setDocumentMargin(0) hp.anchor_clicked.connect(safe_open_url)