2019-05-13 03:17:42 +10:00
|
|
|
import QtQuick 2.7
|
|
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import "../../Base"
|
|
|
|
|
2019-05-13 11:36:08 +10:00
|
|
|
HColumnLayout {
|
2019-05-13 03:17:42 +10:00
|
|
|
property int normalSpacing: 8
|
|
|
|
|
2019-05-13 11:36:08 +10:00
|
|
|
Layout.leftMargin: roomSidePane.collapsed ? 0 : normalSpacing
|
|
|
|
Layout.rightMargin: Layout.leftMargin
|
2019-05-13 03:17:42 +10:00
|
|
|
|
2019-05-14 03:15:03 +10:00
|
|
|
HListView {
|
2019-05-13 03:17:42 +10:00
|
|
|
id: memberList
|
|
|
|
|
2019-05-13 11:36:08 +10:00
|
|
|
spacing: parent.Layout.leftMargin
|
2019-05-13 03:17:42 +10:00
|
|
|
topMargin: spacing
|
|
|
|
bottomMargin: topMargin
|
|
|
|
|
|
|
|
Behavior on spacing {
|
2019-05-15 05:15:10 +10:00
|
|
|
NumberAnimation { duration: HStyle.animationDuration }
|
2019-05-13 03:17:42 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
model: chatPage.roomInfo.members
|
|
|
|
delegate: MemberDelegate {}
|
2019-05-13 11:36:08 +10:00
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.fillHeight: true
|
|
|
|
|
2019-05-13 03:17:42 +10:00
|
|
|
}
|
|
|
|
}
|