Remove tst_qquicktextinput::horizontalAlignment()
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquicktextedit / 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         id: arabicContainer
12         anchors.centerIn: parent
13         width: 200
14         height: 20
15         color: "green"
16
17         TextEdit {
18             id: text
19             objectName: "text"
20             anchors.fill: parent
21             text: top.text
22             focus: true
23             textFormat: TextEdit.AutoText
24         }
25     }
26
27     Rectangle {
28         anchors.top: arabicContainer.bottom
29         anchors.left: arabicContainer.left
30         width: 200
31         height: 20
32         color: "green"
33
34         TextEdit {
35             id: emptyTextEdit
36             objectName: "emptyTextEdit"
37             anchors.fill: parent
38             textFormat: TextEdit.AutoText
39         }
40     }
41 }