summaryrefslogtreecommitdiffstats
path: root/tests/manual/qscreen/propertywatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qscreen/propertywatcher.cpp')
-rw-r--r--tests/manual/qscreen/propertywatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qscreen/propertywatcher.cpp b/tests/manual/qscreen/propertywatcher.cpp
index d342a94029..ee037a0a7c 100644
--- a/tests/manual/qscreen/propertywatcher.cpp
+++ b/tests/manual/qscreen/propertywatcher.cpp
@@ -63,6 +63,7 @@ PropertyWatcher::PropertyWatcher(QObject *subject, QString annotation, QWidget *
QPushButton *updateButton = new QPushButton("update");
connect(updateButton, &QPushButton::clicked, this, &PropertyWatcher::updateAllFields);
m_layout->addRow("", updateButton);
+ m_layout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
setLayout(m_layout);
connect(subject, &QObject::destroyed, this, &PropertyWatcher::subjectDestroyed);
}