aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-17 08:02:41 -0800
committerGitHub <noreply@github.com>2022-12-17 08:02:41 -0800
commit0516055b3125b29f4f224122308042aea724d8d3 (patch)
tree108f1303eb400ed5c92381e274c15582b0f28d4a /launcher/ui/dialogs
parent40f16b6d62993c3c74f79f40e89ac26699919fb2 (diff)
parent3653e9d5e3c3dd24d73734db10bb341dd4f53687 (diff)
downloadPrismLauncher-0516055b3125b29f4f224122308042aea724d8d3.tar.gz
PrismLauncher-0516055b3125b29f4f224122308042aea724d8d3.tar.bz2
PrismLauncher-0516055b3125b29f4f224122308042aea724d8d3.zip
Merge pull request #630 from leo78913/yeet-scrollbars
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r--launcher/ui/dialogs/IconPickerDialog.cpp1
-rw-r--r--launcher/ui/dialogs/ImportResourcePackDialog.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/IconPickerDialog.cpp b/launcher/ui/dialogs/IconPickerDialog.cpp
index 0551a1ef..5131686a 100644
--- a/launcher/ui/dialogs/IconPickerDialog.cpp
+++ b/launcher/ui/dialogs/IconPickerDialog.cpp
@@ -47,7 +47,6 @@ IconPickerDialog::IconPickerDialog(QWidget *parent)
contentsWidget->setUniformItemSizes(true);
contentsWidget->setTextElideMode(Qt::ElideRight);
contentsWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
- contentsWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
contentsWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
contentsWidget->setItemDelegate(new ListViewDelegate());
diff --git a/launcher/ui/dialogs/ImportResourcePackDialog.cpp b/launcher/ui/dialogs/ImportResourcePackDialog.cpp
index e807e926..e8902656 100644
--- a/launcher/ui/dialogs/ImportResourcePackDialog.cpp
+++ b/launcher/ui/dialogs/ImportResourcePackDialog.cpp
@@ -29,7 +29,6 @@ ImportResourcePackDialog::ImportResourcePackDialog(QWidget* parent) : QDialog(pa
// NOTE: We can't have uniform sizes because the text may wrap if it's too long. If we set this, it will cut off the wrapped text.
contentsWidget->setUniformItemSizes(false);
contentsWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
- contentsWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
contentsWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
contentsWidget->setItemDelegate(new ListViewDelegate());