dynamic listview height

This commit is contained in:
Dante Ruiz 2017-07-06 23:50:32 +01:00
parent b4182fe7ac
commit 1ac415aa14

View file

@ -166,7 +166,7 @@ Rectangle {
ListView {
anchors { left: parent.left; right: parent.right; leftMargin: 70 }
height: 125;
height: Math.min(250, contentHeight);
spacing: 0;
snapMode: ListView.SnapToItem;
clip: true;