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:
parent
b20cf7feee
commit
c57e2b5d51
@ -1,3 +0,0 @@
|
|||||||
# QTBUG-87401
|
|
||||||
[wrapping]
|
|
||||||
android
|
|
@ -275,7 +275,9 @@ void tst_QFormLayout::wrapping()
|
|||||||
fl->setRowWrapPolicy(QFormLayout::WrapLongRows);
|
fl->setRowWrapPolicy(QFormLayout::WrapLongRows);
|
||||||
|
|
||||||
QLineEdit *le = new QLineEdit;
|
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);
|
le->setMinimumWidth(200);
|
||||||
fl->addRow(lbl, le);
|
fl->addRow(lbl, le);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user