fix: text wrapping
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
This commit is contained in:
parent
f55fc51e9b
commit
7096f02b88
@ -27,7 +27,7 @@ ImportResourcePackDialog::ImportResourcePackDialog(QWidget* parent) : QDialog(pa
|
|||||||
contentsWidget->setWordWrap(false);
|
contentsWidget->setWordWrap(false);
|
||||||
contentsWidget->setWrapping(true);
|
contentsWidget->setWrapping(true);
|
||||||
contentsWidget->setUniformItemSizes(true);
|
contentsWidget->setUniformItemSizes(true);
|
||||||
contentsWidget->setTextElideMode(Qt::ElideRight);
|
contentsWidget->setWordWrap(true);
|
||||||
contentsWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
contentsWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||||
contentsWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
contentsWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||||
contentsWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
contentsWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||||
|
Loading…
Reference in New Issue
Block a user