mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use a stylesheet instead of sapcing works better with wordwrap
This commit is contained in:
parent
97e96ddaf9
commit
9ab58a73c6
@ -355,6 +355,7 @@ class TweaksView(QListView):
|
|||||||
self.setAlternatingRowColors(True)
|
self.setAlternatingRowColors(True)
|
||||||
self.setVerticalScrollMode(QAbstractItemView.ScrollMode.ScrollPerPixel)
|
self.setVerticalScrollMode(QAbstractItemView.ScrollMode.ScrollPerPixel)
|
||||||
self.setMinimumWidth(300)
|
self.setMinimumWidth(300)
|
||||||
|
self.setStyleSheet('QListView::item { padding-top: 0.75ex; padding-bottom: 0.75ex; }')
|
||||||
self.setWordWrap(True)
|
self.setWordWrap(True)
|
||||||
|
|
||||||
def currentChanged(self, cur, prev):
|
def currentChanged(self, cur, prev):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user