From 056fa819cc9366c11a35c860354a1d3773f30a5d Mon Sep 17 00:00:00 2001 From: glubsy Date: Sat, 1 Aug 2020 18:42:46 +0200 Subject: [PATCH] Revert stretching last section in Result window * It seems that stretching the last section automatically is a bit inconvenient on MacOS as it will grow beyond the window border. * Keep it as it was before for now until a better solution is devised. --- qt/result_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/result_window.py b/qt/result_window.py index 9a3ab41b..06c24e44 100644 --- a/qt/result_window.py +++ b/qt/result_window.py @@ -360,7 +360,7 @@ class ResultWindow(QMainWindow): h = self.resultsView.horizontalHeader() h.setHighlightSections(False) h.setSectionsMovable(True) - h.setStretchLastSection(True) + h.setStretchLastSection(False) h.setDefaultAlignment(Qt.AlignLeft) self.verticalLayout.addWidget(self.resultsView) self.setCentralWidget(self.centralwidget)