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:
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
Block a user