I am using a Flickable area to be able to scroll over a list of entries in a ListView. I am showing here just a small part of my code:
Qt Code:
Rectangle { id: contentRect width: 500 height: 800 clip: true Flickable { contentHeight: myListView.height ListView { id: myListView //... fill it with some values } } }To copy to clipboard, switch view to plain text mode
However, when I scroll over the flickable area, the ListView gets painted over the borders of the contentRect.
In order to solve this, I added the property "clip: true" into the rectangle. But I don't think this is a good solution. Is there any other way I can control this behavior?
Bookmarks