Fix tst_qformlayout::wrapping on Android

The content of the window was intended to trigger wrapping.
On Android, the window is larger, so more content is
necessary. This patch adds more content.

Fixes: QTBUG-87401
Change-Id: I33a2fe4560c358f2b0b83523ee4ab26bb5dd2513
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit c57e2b5d513e8bd9d1b9826d46babd9ef7d5aa57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Andreas Buhr 2022-02-23 16:02:51 +01:00 committed by Qt Cherry-pick Bot
parent 5759404dcf
commit 74838afb05
2 changed files with 3 additions and 4 deletions

View File

@ -1,3 +0,0 @@
# QTBUG-87401
[wrapping]
android

View File

@ -274,7 +274,9 @@ void tst_QFormLayout::wrapping()
fl->setRowWrapPolicy(QFormLayout::WrapLongRows);
QLineEdit *le = new QLineEdit;
QLabel *lbl = new QLabel("A long label");
QLabel *lbl = new QLabel("A long label which is actually long enough to trigger wrapping,"
" even on Android and even if it is executed on a tiling window"
" manager which forces the window into fullscreen mode.");
le->setMinimumWidth(200);
fl->addRow(lbl, le);