From fcf5db817f395bdc2dc8a18fef434b91560ffd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 3 Apr 2021 19:06:38 +0200 Subject: [PATCH] qvm-template-gui: auto resize columns to the content --- qubesmanager/qvm_template_gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py index 6f5e94d..766a2e8 100644 --- a/qubesmanager/qvm_template_gui.py +++ b/qubesmanager/qvm_template_gui.py @@ -368,6 +368,8 @@ class QvmTemplateWindow( super().__init__() self.setupUi(self) + self.listing.header().setSectionResizeMode( + PyQt5.QtWidgets.QHeaderView.ResizeToContents) self.qubes_app = qubes_app self.qt_app = qt_app