Flickable onMouseXChanged
-
How can I catch this event in a flickable item? I can't find a method to get access to the flickables mousearea item
-
Hi,
Did you add MouseArea to the Flickable ? onMouseXChanged should work in it.
-
MouseArea blocks flickables mousearea, so I can't use it
-
Why don't you use the Flickable's MouseArea ? In this way you will be able to onMouseXChanged in it. Or May be if i'm not understanding it can you post an example of the scenario ?
-
I don't use it, because I don't know how can I get access to this MouseArea. Could you tell me how can I do it?
-
Just add MouseArea in it like you add in others.
@
Flickable {
MouseArea {
}
}
@ -
Thanks, it works
My mistake was that I parented the MouseArea to the ScrollView instead of ScrollView's Flickable -
Ok. And don't forget to add anchors.fill: parent in MouseArea so that it covers the whole Flickable Item. You can mark the post as solved.