Use fixed font size in test
authorAlan Alpert <alan.alpert@nokia.com>
Fri, 20 Apr 2012 08:55:16 +0000 (18:55 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Apr 2012 02:53:08 +0000 (04:53 +0200)
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>
tests/auto/qmltest/text/tst_text.qml

index 599fabc..53a768d 100644 (file)
@@ -75,6 +75,7 @@ Item {
         text: first
         width: 100
         wrapMode: Text.WrapAnywhere
+        font.pixelSize: 16
     }
 
     TestCase {