qt6-bb10/qtdeclarative/tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightTo...

29 lines
570 B
QML

import QtQuick 2.0
Rectangle {
id: top
width: 200; height: 70;
property alias horizontalAlignment: text.horizontalAlignment
property string text: "اختبا"
Rectangle {
anchors.centerIn: parent
width: 180
height: 20
color: "green"
TextInput {
id: text
objectName: "text"
anchors.left: parent.left
anchors.top: parent.top
width: 180
text: top.text
focus: true
cursorDelegate: Rectangle { }
}
}
}