From 89772c6461d098a4ed729d5a3730820901d87c31 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 20 Apr 2016 16:05:12 +0200 Subject: [PATCH] browser: resize-adjust list --- artiq/browser/files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/browser/files.py b/artiq/browser/files.py index c73cac0d9..1bd49f2a1 100644 --- a/artiq/browser/files.py +++ b/artiq/browser/files.py @@ -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(