diff options
-rw-r--r-- | desktop-widgets/filterwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/filterwidget.cpp b/desktop-widgets/filterwidget.cpp index 170b0d1ac..026e222f3 100644 --- a/desktop-widgets/filterwidget.cpp +++ b/desktop-widgets/filterwidget.cpp @@ -30,6 +30,8 @@ FilterWidget::FilterWidget(QWidget* parent) : ui.presetTable->setModel(FilterPresetModel::instance()); ui.presetTable->setSelectionBehavior(QAbstractItemView::SelectRows); ui.presetTable->setSelectionMode(QAbstractItemView::SingleSelection); + ui.presetTable->horizontalHeader()->setStretchLastSection(true); + ui.presetTable->resizeColumnsToContents(); connect(ui.clear, &QToolButton::clicked, this, &FilterWidget::clearFilter); connect(ui.close, &QToolButton::clicked, this, &FilterWidget::closeFilter); |