mirror of https://github.com/m-labs/artiq.git
browser: resize-adjust list
This commit is contained in:
parent
2f2461854f
commit
89772c6461
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue