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
Pick-to: 6.2 6.3
Change-Id: I33a2fe4560c358f2b0b83523ee4ab26bb5dd2513
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Andreas Buhr 2022-02-23 16:02:51 +01:00
parent b20cf7feee
commit c57e2b5d51
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -275,7 +275,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);