Merge pull request #2478 from cold-brewed/settings-list-fix

Fix QListView width in the settings window
This commit is contained in:
Miran Grča
2022-07-19 17:11:50 +02:00
committed by GitHub

View File

@@ -143,7 +143,7 @@ Settings::Settings(QWidget *parent) :
ui->stackedWidget->setCurrentIndex(current.row());
});
ui->listView->setMaximumWidth(ui->listView->sizeHintForColumn(0) + qApp->style()->pixelMetric(QStyle::PM_ScrollBarExtent));
ui->listView->setMinimumWidth(ui->listView->sizeHintForColumn(0) + qApp->style()->pixelMetric(QStyle::PM_ScrollBarExtent));
Settings::settings = this;
}