aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext/data/fontSizeMode.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktext/data/fontSizeMode.qml')
-rw-r--r--tests/auto/quick/qquicktext/data/fontSizeMode.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/data/fontSizeMode.qml b/tests/auto/quick/qquicktext/data/fontSizeMode.qml
new file mode 100644
index 0000000000..84f7ce8d50
--- /dev/null
+++ b/tests/auto/quick/qquicktext/data/fontSizeMode.qml
@@ -0,0 +1,22 @@
+import QtQuick 2.0
+
+Item {
+ width: 300
+ height: 200
+
+ Rectangle {
+ anchors.fill: myText
+ border.width: 1
+ }
+
+ Text {
+ id: myText
+ objectName: "myText"
+ width: 250
+ height: 41
+ minimumPointSize: 8
+ minimumPixelSize: 8
+ font.pixelSize: 30
+ font.family: "Helvetica"
+ }
+}