aboutsummaryrefslogtreecommitdiff
path: root/application/pages/modplatform/flame
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2021-06-21 00:46:16 +0200
committerGitHub <noreply@github.com>2021-06-21 00:46:16 +0200
commit8179a89103833805d5374399d80a4305be1b8355 (patch)
treef36faf74f7dff04c0f636a1a0653d704e8b3eea1 /application/pages/modplatform/flame
parentbace6fec1ba7f2fc044b0218e4c2b56dd94767b9 (diff)
parente439ce6e0b8bed288a5a821ed5db80e42dd71e03 (diff)
downloadPrismLauncher-8179a89103833805d5374399d80a4305be1b8355.tar.gz
PrismLauncher-8179a89103833805d5374399d80a4305be1b8355.tar.bz2
PrismLauncher-8179a89103833805d5374399d80a4305be1b8355.zip
Merge pull request #3886 from phit/fixftblegacy
NOISSUE Fix FTB Legacy Pack Selection
Diffstat (limited to 'application/pages/modplatform/flame')
-rw-r--r--application/pages/modplatform/flame/FlamePage.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/application/pages/modplatform/flame/FlamePage.cpp b/application/pages/modplatform/flame/FlamePage.cpp
index 2dd58e16..ade58431 100644
--- a/application/pages/modplatform/flame/FlamePage.cpp
+++ b/application/pages/modplatform/flame/FlamePage.cpp
@@ -17,9 +17,8 @@ FlamePage::FlamePage(NewInstanceDialog* dialog, QWidget *parent)
listModel = new Flame::ListModel(this);
ui->packView->setModel(listModel);
- ui->versionSelectionBox->setMaxVisibleItems(10);
- // fix height for themes that dont respect max visible like fusion
- ui->versionSelectionBox->setStyleSheet("combobox-popup: 0;");
+ ui->versionSelectionBox->view()->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
+ ui->versionSelectionBox->view()->parentWidget()->setMaximumHeight(300);
// index is used to set the sorting with the curseforge api
ui->sortByBox->addItem(tr("Sort by featured"));