diff --git a/src/calibre/gui2/fts/search.py b/src/calibre/gui2/fts/search.py index 644bdea81b..028a68cb39 100644 --- a/src/calibre/gui2/fts/search.py +++ b/src/calibre/gui2/fts/search.py @@ -501,11 +501,20 @@ class ResultDetails(QWidget): self.do_layout() def render_book_info(self, results): + t = results.title + if len(t) > 72: + t = t[:71] + '…' text = f'
{results.title}
'
- text += f'{authors_to_string(results.authors)}
' + _('{series_index} of {series}').format(series_index=sidx, series=results.series) + '
' + series = results.series + if len(series) > 60: + series = series[:59] + '…' + text += '' + _('{series_index} of {series}').format(series_index=sidx, series=series) + '
' text += '\xa0{0}\xa0\xa0\xa0 '.format(
_('Select'), '
' + _('Scroll to this book in the calibre library book list and select it.'))
text += '\xa0{0}