2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

browser: resize-adjust list

This commit is contained in:
Robert Jördens 2016-04-20 16:05:12 +02:00
parent 2f2461854f
commit 89772c6461

View File

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