mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1990878 [[Enhancement] Add more padding to Search text of all books window](https://bugs.launchpad.net/calibre/+bug/1990878)
This commit is contained in:
parent
da9426aaab
commit
b8d6555b9e
@ -697,11 +697,12 @@ class DetailsPanel(QStackedWidget):
|
||||
hp.setDefaultStyleSheet('a { text-decoration: none; }')
|
||||
hp.setHtml('''
|
||||
<style>
|
||||
.wrapper { margin-left: 4px }
|
||||
div { margin-top: 0.5ex }
|
||||
.h { font-weight: bold; }
|
||||
.bq { margin-left: 1em; margin-top: 0.5ex; margin-bottom: 0.5ex; font-style: italic }
|
||||
p { margin: 0; }
|
||||
</style>
|
||||
</style><div class="wrapper">
|
||||
''' + _('''
|
||||
<div class="h">Search for single words</div>
|
||||
<p>Simply type the word:</p>
|
||||
@ -719,7 +720,7 @@ p { margin: 0; }
|
||||
<p>Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.</p>
|
||||
|
||||
<div style="margin-top: 1em"><a href="{fts_url}">Full syntax reference</a></div>
|
||||
''').format(fts_url=fts_url))
|
||||
''' + '</div>').format(fts_url=fts_url))
|
||||
hp.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
hp.document().setDocumentMargin(0)
|
||||
hp.anchor_clicked.connect(safe_open_url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user