Settings: Changed the List View to a Table View - now the pages rows are no longer as small as they used to be.

This commit is contained in:
OBattler
2024-06-08 05:02:58 +02:00
parent f95b1d984d
commit 152c0cbf1d
2 changed files with 20 additions and 5 deletions

View File

@@ -182,8 +182,8 @@ Settings::Settings(QWidget *parent)
[this](const QModelIndex &current, const QModelIndex &previous) {
ui->stackedWidget->setCurrentIndex(current.row()); });
ui->listView->setMinimumWidth(ui->listView->sizeHintForColumn(0) +
qApp->style()->pixelMetric(QStyle::PM_ScrollBarExtent));
ui->listView->resizeColumnsToContents();
ui->listView->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch);
ui->listView->setCurrentIndex(model->index(0, 0));