Qt 6.11 is out! See what's new in the release
blog
Flickable onMouseXChanged
QML and Qt Quick
8
Posts
2
Posters
2.5k
Views
1
Watching
-
Hi,
Did you add MouseArea to the Flickable ? onMouseXChanged should work in 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 ?
-
Just add MouseArea in it like you add in others.
@
Flickable {
MouseArea {
}
}
@ -
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.