Fix #135.
This commit is contained in:
@@ -237,6 +237,7 @@ Item {
|
|||||||
highlightMoveDuration: 500
|
highlightMoveDuration: 500
|
||||||
|
|
||||||
boundsBehavior: Flickable.DragOverBounds
|
boundsBehavior: Flickable.DragOverBounds
|
||||||
|
|
||||||
model: SortFilterProxyModel {
|
model: SortFilterProxyModel {
|
||||||
id: sortedMessageEventModel
|
id: sortedMessageEventModel
|
||||||
|
|
||||||
@@ -425,39 +426,45 @@ Item {
|
|||||||
|
|
||||||
onClicked: messageListView.positionViewAtBeginning()
|
onClicked: messageListView.positionViewAtBeginning()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Control {
|
Control {
|
||||||
Layout.maximumWidth: parent.width * 0.8
|
anchors.left: parent.left
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
|
||||||
visible: currentRoom && currentRoom.hasUsersTyping
|
visible: currentRoom && currentRoom.hasUsersTyping
|
||||||
padding: 8
|
padding: 8
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: currentRoom && currentRoom.hasUsersTyping ? currentRoom.usersTyping : null
|
model: currentRoom && currentRoom.hasUsersTyping ? currentRoom.usersTyping : null
|
||||||
|
|
||||||
delegate: Avatar {
|
delegate: Avatar {
|
||||||
Layout.preferredWidth: 24
|
Layout.preferredWidth: 24
|
||||||
Layout.preferredHeight: 24
|
Layout.preferredHeight: 24
|
||||||
|
|
||||||
source: modelData.avatarMediaId
|
source: modelData.avatarMediaId
|
||||||
hint: modelData.displayName
|
hint: modelData.displayName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
BusyIndicator {
|
||||||
|
Layout.preferredWidth: 32
|
||||||
|
Layout.preferredHeight: 32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BusyIndicator {
|
background: Rectangle {
|
||||||
Layout.preferredWidth: 32
|
color: MPalette.background
|
||||||
Layout.preferredHeight: 32
|
radius: height / 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
Keys.onUpPressed: scrollBar.decrease()
|
||||||
color: MPalette.background
|
Keys.onDownPressed: scrollBar.increase()
|
||||||
radius: height / 2
|
|
||||||
}
|
ScrollBar.vertical: ScrollBar { id: scrollBar }
|
||||||
}
|
}
|
||||||
|
|
||||||
RoomPanelInput {
|
RoomPanelInput {
|
||||||
|
|||||||
Reference in New Issue
Block a user