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