mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 09:51:33 +02:00
dynamic listview height
This commit is contained in:
parent
b4182fe7ac
commit
1ac415aa14
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ Rectangle {
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
anchors { left: parent.left; right: parent.right; leftMargin: 70 }
|
anchors { left: parent.left; right: parent.right; leftMargin: 70 }
|
||||||
height: 125;
|
height: Math.min(250, contentHeight);
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
snapMode: ListView.SnapToItem;
|
snapMode: ListView.SnapToItem;
|
||||||
clip: true;
|
clip: true;
|
||||||
|
|
Loading…
Reference in a new issue