aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-04-20 18:55:16 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-26 04:53:08 +0200
commit5e62f313588dc81c7284c4eb451cb9ebe7f3c994 (patch)
tree8e4c56e4d810d9c2376d26949d5e7cc4f5a82ac9 /tests
parentf29c5732f6dbb2c928a088bb14dfb63b600ca9c8 (diff)
Use fixed font size in test
Otherwise, system defaults can lead to different wrap points on different platforms. Task-number: QTBUG-25306 Change-Id: I4082fb2f9a805982e7c8d076154983af0a393226 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qmltest/text/tst_text.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qmltest/text/tst_text.qml b/tests/auto/qmltest/text/tst_text.qml
index 599fabcc8b..53a768d642 100644
--- a/tests/auto/qmltest/text/tst_text.qml
+++ b/tests/auto/qmltest/text/tst_text.qml
@@ -75,6 +75,7 @@ Item {
text: first
width: 100
wrapMode: Text.WrapAnywhere
+ font.pixelSize: 16
}
TestCase {