Rename Qt Quick-specific classes to QQuick*
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquicktextedit / data / qtbug-22058.qml
1 import QtQuick 2.0
2
3 Rectangle {
4     property variant inputField: textedit
5     height: 200
6     width: 200
7
8     Rectangle {
9         height: parent.height /2
10         width: parent.width
11         color: "transparent"
12         border.color: "black"
13         border.width: 4
14         Text {
15             anchors.centerIn: parent
16             height: parent.height * .95
17             width: parent.width * .95
18             text: textedit.text
19         }
20     }
21
22     Rectangle {
23         height: parent.height /2
24         width: parent.width
25         color: "transparent"
26         border.color: "black"
27         border.width: 4
28         anchors.bottom: parent.bottom
29         TextEdit {
30             id: textedit
31             anchors.centerIn: parent
32             height: parent.height * .95
33             width: parent.width * .95
34             focus: true
35             wrapMode: TextEdit.WordWrap
36             text: ""
37         }
38     }
39 }