aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml')
-rw-r--r--tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml b/tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml
new file mode 100644
index 0000000000..7f1ce705dd
--- /dev/null
+++ b/tests/auto/quick/qquicktext/data/elideBeforeMaximumLineCount.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+Text {
+ width: implicitWidth / 2
+ height: implicitHeight / 2
+ elide: Text.ElideRight
+ maximumLineCount: 4
+
+ text: "Line one\nLine two\nLine three\nLine four"
+}