mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #1856234 [Text under icons not shown in the Preferences for Edit book](https://bugs.launchpad.net/calibre/+bug/1856234)
This commit is contained in:
parent
e89f8efb9c
commit
b509cfefbc
@ -729,6 +729,7 @@ class Preferences(QDialog):
|
||||
(_('Integration with calibre'), 'lt.png', 'integration'),
|
||||
]:
|
||||
i = QListWidgetItem(QIcon(I(icon)), name, cl)
|
||||
i.setToolTip(name)
|
||||
cl.addItem(i)
|
||||
self.stacks.addWidget(getattr(self, panel + '_panel'))
|
||||
|
||||
@ -741,6 +742,7 @@ class Preferences(QDialog):
|
||||
|
||||
cl.setMaximumWidth(cl.sizeHintForColumn(0) + 35)
|
||||
cl.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
cl.setMinimumWidth(min(cl.maximumWidth(), cl.sizeHint().width()))
|
||||
|
||||
@property
|
||||
def dictionaries_changed(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user