Fix roomList height calculation
This commit is contained in:
		@@ -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++) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user