summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml
index 976f0b0..a427719 100644
--- a/tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/align/multilineAlign.qml
@@ -1,4 +1,5 @@
import QtQuick 1.0
+import "../../shared" 1.0
/*Tests both the alignments of multiline text, and that
it can deal with changing them properly
@@ -8,7 +9,7 @@ Item{
height: 80
property int stage: 0
onStageChanged: if(stage == 6) Qt.quit();
- Text{
+ TestText{
text: "I am the very model of a modern major general."
anchors.fill: parent;
wrapMode: Text.WordWrap