Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How do I scroll a ListView when an image is clicked

$
0
0
I have a got a ListView with some images in it. Its horizontal like in the FlickrView example. I have got an arrow at the left side which when clicked should make the list scroll right I tried  onClicked: {                 listviewObjectPalette.flick(20.0,0.0);             } Also listviewObjectPalette.incrementCurrentIndex(), did not work. I think I will need to find the last element visible and then use positionViewAtIndex() but I am not sure how to find the last visible element.

Viewing all articles
Browse latest Browse all 4972

Trending Articles