summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml
index 3ef64ef..db991a2 100644
--- a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml
@@ -1,4 +1,5 @@
import QtQuick 1.0
+import "../../shared" 1.0
Rectangle {
width: 500
@@ -9,7 +10,7 @@ Rectangle {
height: myText.height
color: "white"
anchors.centerIn: parent
- Text {
+ TestText {
id: myText
NumberAnimation on width { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 }
elide: "ElideRight"