summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml')
-rw-r--r--tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml b/tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml
new file mode 100644
index 0000000..f9fe025
--- /dev/null
+++ b/tests/auto/declarative/visual/qdeclarativetextedit/wrap.qml
@@ -0,0 +1,21 @@
+import Qt 4.6
+
+Item {
+ height:400
+ width: 200
+ TextEdit {
+ width: 200
+ height: 200
+ wrap: true
+ focus: true
+ }
+ //With QTBUG-6273 only the bottom one would be wrapped
+ TextEdit {
+ width: 200
+ height: 200
+ wrap: true
+ text: "This is a test that text edit wraps correctly."
+ y:200
+ }
+
+}