GH-3731 Limit Curserforge version height

This commit is contained in:
phit 2021-06-18 18:31:14 +02:00
parent 434adc4cd7
commit 00820df656

View File

@ -17,6 +17,8 @@ FlamePage::FlamePage(NewInstanceDialog* dialog, QWidget *parent)
listModel = new Flame::ListModel(this); listModel = new Flame::ListModel(this);
ui->packView->setModel(listModel); ui->packView->setModel(listModel);
ui->versionSelectionBox->setMaxVisibleItems(10);
// index is used to set the sorting with the curseforge api // index is used to set the sorting with the curseforge api
ui->sortByBox->addItem(tr("Sort by featured")); ui->sortByBox->addItem(tr("Sort by featured"));
ui->sortByBox->addItem(tr("Sort by popularity")); ui->sortByBox->addItem(tr("Sort by popularity"));