Fix roomList height calculation
This commit is contained in:
parent
30514fb7db
commit
d8c6ffefe0
|
@ -71,7 +71,7 @@ ColumnLayout {
|
|||
|
||||
Layout.minimumHeight:
|
||||
roomList.visible ?
|
||||
800 :
|
||||
roomList.contentHeight :
|
||||
0
|
||||
Layout.maximumHeight: Layout.minimumHeight
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ ListView {
|
|||
property int contentHeight: 0
|
||||
|
||||
onCountChanged: {
|
||||
var children = roomList.children
|
||||
var children = roomList.contentItem.children
|
||||
var childrenHeight = 0
|
||||
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user