diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml index 4afe417..63400f1 100644 --- a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml +++ b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml @@ -1,30 +1,31 @@ import QtQuick 1.0 +import "../shared" 1.0 Item { height:400 width: 200 - TextEdit { + TestTextEdit { width: 200 height: 100 wrapMode: TextEdit.WordWrap focus: true } //With QTBUG-6273 only the bottom one would be wrapped - TextEdit { + TestTextEdit { width: 200 height: 100 wrapMode: TextEdit.WordWrap text: "This is a test that text edit wraps correctly." y:100 } - TextEdit { + TestTextEdit { width: 150 height: 100 wrapMode: TextEdit.WrapAnywhere text: "This is a test that text edit wraps correctly. thisisaverylongstringwithnospaces" y:200 } - TextEdit { + TestTextEdit { width: 150 height: 100 wrapMode: TextEdit.Wrap |