mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix #8023 (Make plugin wrap factor a higher number for the preferences dialog)
This commit is contained in:
parent
ab87958a9a
commit
64b81e6e9a
@ -103,7 +103,7 @@ class PluginModel(QAbstractItemModel): # {{{
|
|||||||
plugin = self.index_to_plugin(index)
|
plugin = self.index_to_plugin(index)
|
||||||
if role == Qt.DisplayRole:
|
if role == Qt.DisplayRole:
|
||||||
ver = '.'.join(map(str, plugin.version))
|
ver = '.'.join(map(str, plugin.version))
|
||||||
desc = '\n'.join(textwrap.wrap(plugin.description, 50))
|
desc = '\n'.join(textwrap.wrap(plugin.description, 100))
|
||||||
ans='%s (%s) %s %s\n%s'%(plugin.name, ver, _('by'), plugin.author, desc)
|
ans='%s (%s) %s %s\n%s'%(plugin.name, ver, _('by'), plugin.author, desc)
|
||||||
c = plugin_customization(plugin)
|
c = plugin_customization(plugin)
|
||||||
if c:
|
if c:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user