Relayout DownloadView when size changed.

This commit is contained in:
Florian Bruhin 2014-06-13 20:19:27 +02:00
parent 6579f4dba0
commit aa36d3b10c

View File

@ -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