Relayout DownloadView when size changed.
This commit is contained in:
parent
6579f4dba0
commit
aa36d3b10c
@ -43,6 +43,7 @@ class DownloadView(QListView):
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
set_register_stylesheet(self)
|
||||
self.setResizeMode(QListView.Adjust)
|
||||
self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
|
||||
self.setFlow(QListView.LeftToRight)
|
||||
self._menu = None
|
||||
|
Loading…
Reference in New Issue
Block a user