Fix #1860597 [[Enhancement] Make the list of tweaks better so that you don't need to scroll to read it](https://bugs.launchpad.net/calibre/+bug/1860597)

This commit is contained in:
Kovid Goyal 2020-03-05 09:40:29 +05:30
parent c4d6dd7dfe
commit 2742fa1f96
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -372,6 +372,7 @@ class TweaksView(QListView):
self.setAlternatingRowColors(True) self.setAlternatingRowColors(True)
self.setSpacing(5) self.setSpacing(5)
self.setVerticalScrollMode(self.ScrollPerPixel) self.setVerticalScrollMode(self.ScrollPerPixel)
self.setMinimumWidth(300)
def currentChanged(self, cur, prev): def currentChanged(self, cur, prev):
QListView.currentChanged(self, cur, prev) QListView.currentChanged(self, cur, prev)