22

I implemented a master-detail in QML by using a horizontal list with snap, each list item being a view.

Now I want to disable scrolling/swiping, how do I achieve that? There seems to be no useful ListView property for that.

NG_
  • 6,895
  • 7
  • 45
  • 67
Marco Piccolino
  • 814
  • 1
  • 7
  • 18

1 Answers1

39

ListView inherits from the Flickable which has interactive property. Just set

interactive: false
NG_
  • 6,895
  • 7
  • 45
  • 67
Nadarian
  • 962
  • 9
  • 22