Stabilize tst_QAbstractItemView::task250754_fontChange().

Increase window size when verifying that the scrollbar disappears
when using a small font on Windows 8.1

Change-Id: I7d4520bc5882d8ccd59db3f5bff7e9d6d68a4827
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
This commit is contained in:
Friedemann Kleint 2014-04-30 10:46:20 +02:00 committed by The Qt Project
parent 92d289aba8
commit 7e14e69fd5

View File

@ -1257,7 +1257,7 @@ void tst_QAbstractItemView::task250754_fontChange()
tree.setModel(m);
tree.setHeaderHidden(true); // The header is (in certain styles) dpi dependent
w.resize(160, 300); // Minimum width for windows with frame on Windows 8
w.resize(160, 350); // Minimum width for windows with frame on Windows 8
centerOnScreen(&w);
moveCursorAway(&w);
w.showNormal();