blob: 8231e3f42b592cbe12e279fda36f8be5fd7a1eef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
import QtQuick 2.0
Rectangle {
id: top
width: 200; height: 70;
property alias horizontalAlignment: text.horizontalAlignment
property string text: "اختبا"
Rectangle {
id: arabicContainer
anchors.centerIn: parent
width: 200
height: 20
color: "green"
TextEdit {
id: text
objectName: "text"
anchors.fill: parent
text: top.text
focus: true
textFormat: TextEdit.AutoText
}
}
Rectangle {
anchors.top: arabicContainer.bottom
anchors.left: arabicContainer.left
width: 200
height: 20
color: "green"
TextEdit {
id: emptyTextEdit
objectName: "emptyTextEdit"
anchors.fill: parent
textFormat: TextEdit.AutoText
}
}
}
|