mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:57:23 +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();
|
QScrollArea* area = new QScrollArea();
|
||||||
layout->addWidget(area);
|
layout->addWidget(area);
|
||||||
area->setWidgetResizable(true);
|
area->setWidgetResizable(true);
|
||||||
|
area->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||||
QWidget* container = new QWidget();
|
QWidget* container = new QWidget();
|
||||||
container->setLayout(_attachments = new QVBoxLayout());
|
container->setLayout(_attachments = new QVBoxLayout());
|
||||||
container->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Preferred);
|
container->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Preferred);
|
||||||
|
|
Loading…
Reference in a new issue