diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index a5bc25a7a2..9325b4c505 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -58,14 +58,15 @@ class AddDictionary(QDialog): # {{{ QDialog.__init__(self, parent) self.setWindowTitle(_('Add a dictionary')) self.l = l = QFormLayout(self) + l.setFieldGrowthPolicy(l.AllNonFixedFieldsGrow) self.setLayout(l) self.la = la = QLabel('
' + _( '''{0} supports the use of LibreOffice dictionaries for spell checking. You can download more dictionaries from the LibreOffice extensions repository. The dictionary will download as an .oxt file. Simply specify the path to the - downloaded .oxt file here to add the dictionary to {0}.'''.format( - __appname__, 'http://extensions.libreoffice.org/extension-center?getCategories=Dictionary&getCompatibility=any&sort_on=positive_ratings'))+'
') # noqa + downloaded .oxt file here to add the dictionary to {0}.''').format( + __appname__, 'http://extensions.libreoffice.org/extension-center?getCategories=Dictionary&getCompatibility=any&sort_on=positive_ratings')+'
') # noqa la.setWordWrap(True) la.setOpenExternalLinks(True) la.setMinimumWidth(450)