Add some space between download items
This commit is contained in:
parent
0e11bae002
commit
9cd0369f89
@ -45,6 +45,7 @@ class DownloadView(QListView):
|
|||||||
set_register_stylesheet(self)
|
set_register_stylesheet(self)
|
||||||
self.setResizeMode(QListView.Adjust)
|
self.setResizeMode(QListView.Adjust)
|
||||||
self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||||
|
self.setSpacing(2)
|
||||||
self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
|
self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
|
||||||
self.setFlow(QListView.LeftToRight)
|
self.setFlow(QListView.LeftToRight)
|
||||||
self._menu = None
|
self._menu = None
|
||||||
|
Loading…
Reference in New Issue
Block a user