browser: resize-adjust list

This commit is contained in:
Robert Jördens 2016-04-20 16:05:12 +02:00
parent 2f2461854f
commit 89772c6461
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ class FilesDock(QtWidgets.QDockWidget):
l = QtGui.QFontMetrics(self.font()).lineSpacing() l = QtGui.QFontMetrics(self.font()).lineSpacing()
self.rl.setIconSize(QtCore.QSize(20*l, 15*l)) self.rl.setIconSize(QtCore.QSize(20*l, 15*l))
self.rl.setFlow(self.rl.LeftToRight) self.rl.setFlow(self.rl.LeftToRight)
self.rl.setResizeMode(self.rl.Adjust)
self.rl.setWrapping(True) self.rl.setWrapping(True)
self.rl.setModel(self.model) self.rl.setModel(self.model)
self.rl.selectionModel().currentChanged.connect( self.rl.selectionModel().currentChanged.connect(