Commit 2d64f0cb authored by Don Gagne's avatar Don Gagne

Increase size of target touch areas

parent 05326562
...@@ -54,6 +54,7 @@ Rectangle { ...@@ -54,6 +54,7 @@ Rectangle {
height: _root.parent.height height: _root.parent.height
visible: dropPanel.visible visible: dropPanel.visible
onClicked: dropPanel.hide() onClicked: dropPanel.hide()
preventStealing: true
} }
Column { Column {
...@@ -144,11 +145,15 @@ Rectangle { ...@@ -144,11 +145,15 @@ Rectangle {
} }
MouseArea { MouseArea {
// Size of mouse area is expanded to make touch easier
anchors.leftMargin: buttonStripColumn.margins
anchors.rightMargin: buttonStripColumn.margins
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: parent.top anchors.top: parent.top
height: parent.height + (_showOptionalElements? buttonLabel.height + buttonColumn.spacing : 0) height: parent.height + (_showOptionalElements? buttonLabel.height + buttonColumn.spacing : 0)
visible: _root.buttonEnabled ? _root.buttonEnabled[index] : true visible: _root.buttonEnabled ? _root.buttonEnabled[index] : true
preventStealing: true
onClicked: { onClicked: {
if (modelData.dropPanelComponent === undefined) { if (modelData.dropPanelComponent === undefined) {
......
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