mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 21:06:11 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -729,6 +729,7 @@ def __init__(self, gui, initial_panel=None):
|
|||
(_('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 @@ def __init__(self, gui, initial_panel=None):
|
|||
|
||||
cl.setMaximumWidth(cl.sizeHintForColumn(0) + 35)
|
||||
cl.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
cl.setMinimumWidth(min(cl.maximumWidth(), cl.sizeHint().width()))
|
||||
|
||||
@property
|
||||
def dictionaries_changed(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue