2019-05-13 03:17:42 +10:00
|
|
|
import QtQuick 2.7
|
|
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import "../../Base"
|
|
|
|
|
|
|
|
Column {
|
|
|
|
property int normalSpacing: 8
|
|
|
|
|
2019-05-13 08:59:29 +10:00
|
|
|
leftPadding: roomSidePane.collapsed ? 0 : normalSpacing
|
2019-05-13 03:17:42 +10:00
|
|
|
rightPadding: leftPadding
|
|
|
|
|
|
|
|
ListView {
|
|
|
|
width: parent.width
|
|
|
|
height: parent.height
|
|
|
|
|
|
|
|
id: memberList
|
|
|
|
|
2019-05-13 08:59:29 +10:00
|
|
|
spacing: parent.leftPadding
|
2019-05-13 03:17:42 +10:00
|
|
|
topMargin: spacing
|
|
|
|
bottomMargin: topMargin
|
|
|
|
|
|
|
|
Behavior on spacing {
|
2019-05-13 06:13:00 +10:00
|
|
|
NumberAnimation { duration: 120 }
|
2019-05-13 03:17:42 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
model: chatPage.roomInfo.members
|
|
|
|
delegate: MemberDelegate {}
|
|
|
|
}
|
|
|
|
}
|