summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetextedit/wrap.qml
blob: f9fe025fb9a462a615970e595372c6cd83ddc507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    }

}