diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-05-24 08:50:25 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-05-24 08:50:25 +0200 |
| commit | 9a4ffcf6ec61402ef92e46a32ad4e3def2c379a6 (patch) | |
| tree | 08d68bbb672ae9aa479134f82b9dd52626242df5 /tidal_dl_ng/helper | |
| parent | df92dcb0a46160ccb5a3548d5dd66404e2b1ba3e (diff) | |
| download | tidal-dl-ng-9a4ffcf6ec61402ef92e46a32ad4e3def2c379a6.tar.gz | |
👷 Result columns resizable again.
Diffstat (limited to 'tidal_dl_ng/helper')
| -rw-r--r-- | tidal_dl_ng/helper/gui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tidal_dl_ng/helper/gui.py b/tidal_dl_ng/helper/gui.py index 855f01e..a312c02 100644 --- a/tidal_dl_ng/helper/gui.py +++ b/tidal_dl_ng/helper/gui.py @@ -81,8 +81,9 @@ class FilterHeader(QtWidgets.QHeaderView): super().__init__(QtCore.Qt.Horizontal, parent) self._editors = [] self._padding = 4 + self.setCascadingSectionResizes(True) + self.setSectionResizeMode(QtWidgets.QHeaderView.Interactive) self.setStretchLastSection(True) - self.setSectionResizeMode(QtWidgets.QHeaderView.Stretch) self.setDefaultAlignment(QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.setSortIndicatorShown(False) self.setSectionsMovable(True) |
