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

This commit is contained in:
Marek Marczykowski-Górecki 2021-04-03 19:06:38 +02:00
parent 6c9514c034
commit fcf5db817f
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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