Browse Source

qvm-template-gui: auto resize columns to the content

Marek Marczykowski-Górecki 3 years ago
parent
commit
fcf5db817f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      qubesmanager/qvm_template_gui.py

+ 2 - 0
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