[Interest] QML ListView "gravity"

Jason H jhihn at gmx.com
Tue Sep 20 21:20:49 CEST 2016


> 
> Is there an easy way to do this?

I have a hack, but I am still looking for a better solution.

The hack is to place it in an Item, anchor the list view to it's bottom, and set the height accordingly:
height: contentHeight < listViewContainer.height ? contentHeight : listViewContainer.height

However, if allowing scrolling past bounds (I am) the items disappear before they can be dragged to the top of the Item. 



More information about the Interest mailing list