mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
Force the scroll bar.
This commit is contained in:
parent
e0ecd611c9
commit
c5fbf1b55f
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ AttachmentsDialog::AttachmentsDialog() :
|
|||
QScrollArea* area = new QScrollArea();
|
||||
layout->addWidget(area);
|
||||
area->setWidgetResizable(true);
|
||||
area->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
QWidget* container = new QWidget();
|
||||
container->setLayout(_attachments = new QVBoxLayout());
|
||||
container->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Preferred);
|
||||
|
|
Loading…
Reference in a new issue