Initial import from qtquick2.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qsgtextinput / data / horizontalAlignment.qml
1 import QtQuick 2.0
2
3 Rectangle {
4     id: top
5     width: 70; height: 70;
6
7     property alias horizontalAlignment: text.horizontalAlignment
8     property string text: "Test"
9
10     Rectangle {
11         anchors.centerIn: parent
12         width: 60
13         height: 20
14         color: "green"
15
16         TextInput {
17             id: text
18             anchors.fill: parent
19             text: top.text
20         }
21     }
22 }