moment/harmonyqml/components/Chat/RoomSidePane/MembersView.qml
2019-05-14 15:15:10 -04:00

30 lines
627 B
QML

import QtQuick 2.7
import QtQuick.Layouts 1.3
import "../../Base"
HColumnLayout {
property int normalSpacing: 8
Layout.leftMargin: roomSidePane.collapsed ? 0 : normalSpacing
Layout.rightMargin: Layout.leftMargin
HListView {
id: memberList
spacing: parent.Layout.leftMargin
topMargin: spacing
bottomMargin: topMargin
Behavior on spacing {
NumberAnimation { duration: HStyle.animationDuration }
}
model: chatPage.roomInfo.members
delegate: MemberDelegate {}
Layout.fillWidth: true
Layout.fillHeight: true
}
}