diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 09:08:42 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 12:48:55 (GMT) |
commit | ad52b10726aa72c253e220c06d3c7c76ef76366e (patch) | |
tree | 9f22e2d11eaa55220b19c2807cecd70b8b9a51ad /tests/auto/qgraphicslinearlayout | |
parent | 7ed2e44c48ac625993cf33cdbb70f82b0a3cb1af (diff) | |
download | Qt-ad52b10726aa72c253e220c06d3c7c76ef76366e.zip Qt-ad52b10726aa72c253e220c06d3c7c76ef76366e.tar.gz Qt-ad52b10726aa72c253e220c06d3c7c76ef76366e.tar.bz2 |
tst_QGraphicsLinearLayout::layoutDirection fixed for Windows mobile
This test depends on a layout spacing set to 6.
The Windows mobile style has layout spacing 8.
Reviewed-by: mauricek
Diffstat (limited to 'tests/auto/qgraphicslinearlayout')
-rw-r--r-- | tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp index 600e163..8409ec7e 100644 --- a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp +++ b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp @@ -1333,6 +1333,8 @@ void tst_QGraphicsLinearLayout::layoutDirection() QGraphicsWidget *window = new QGraphicsWidget(0, Qt::Window); QGraphicsLinearLayout *layout = new QGraphicsLinearLayout; layout->setContentsMargins(1, 2, 3, 4); + layout->setSpacing(6); + RectWidget *w1 = new RectWidget; w1->setPreferredSize(20, 20); w1->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); |