Commit 318190fe authored by Karel Slaný's avatar Karel Slaný

Reading value of AccessibleSpinBox.

parent ff70129e
......@@ -57,7 +57,7 @@ SpinBox {
}
MouseArea {
anchors.fill: fontSizeSpinBox.down.indicator
anchors.fill: root.down.indicator
function handleClick() {
root.decrease()
......@@ -76,7 +76,21 @@ SpinBox {
}
}
MouseArea {
anchors.fill: fontSizeSpinBox.up.indicator
anchors.top: root.top
anchors.bottom: root.bottom
anchors.left: (root.down.indicator.x < root.up.indicator.x) ? root.down.indicator.right : root.up.indicator.right
anchors.right: (root.down.indicator.x < root.up.indicator.x) ? root.up.indicator.left : root.up.indicator.left
Accessible.role: root.editable ? Accessible.EditableText : Accessible.StaticText
Accessible.description: root.accessibleDescription
Accessible.editable: root.editable
Accessible.focusable: true
Accessible.multiLine: false
Accessible.name: root.val()
Accessible.readOnly: !root.editable
}
MouseArea {
anchors.fill: root.up.indicator
function handleClick() {
root.increase()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment