Merge pull request #630 from leo78913/yeet-scrollbars

This commit is contained in:
flow 2022-12-17 08:02:41 -08:00 committed by Sefa Eyeoglu
parent bcf506488f
commit 45870497c6
No known key found for this signature in database
GPG key ID: C10411294912A422
6 changed files with 0 additions and 15 deletions

View file

@ -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());