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

30 lines
606 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: 120 }
}
model: chatPage.roomInfo.members
delegate: MemberDelegate {}
Layout.fillWidth: true
Layout.fillHeight: true
}
}