TapHandler and stacked Panes
-
Hi all -
Consider the following example:
import QtQuick import QtQuick.Controls import QtQuick.Layouts Window { width: 640 height: 480 visible: true Pane { height: 100 width: 100 background: Rectangle { color: 'red' } Pane { anchors.centerIn: parent height: 50 width: 50 background: Rectangle { color: 'blue' } } TapHandler { onTapped: console.log("tapped!") } } }I want the TapHandler to operate on all of the outer Pane, but as coded, it doesn't accept clicks on the inner Pane. Any ideas on how to fix this?
Thanks...
-
M mzimmers has marked this topic as solved on