Move TypingIndicator to the right side

So that it's less likely to cover message text.
This commit is contained in:
Noah Davis
2021-05-27 14:07:57 -04:00
parent 3d251b9b25
commit 8a55db4eb8
2 changed files with 5 additions and 6 deletions

View File

@@ -637,7 +637,7 @@ Kirigami.ScrollablePage {
QQC2.RoundButton {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.bottomMargin: Kirigami.Units.largeSpacing
anchors.bottomMargin: Kirigami.Units.largeSpacing + messageListView.headerItem.height
anchors.rightMargin: Kirigami.Units.largeSpacing
implicitWidth: Kirigami.Units.gridUnit * 2
implicitHeight: Kirigami.Units.gridUnit * 2
@@ -725,7 +725,7 @@ Kirigami.ScrollablePage {
currentRoom.usersTyping.length,
currentRoom.usersTyping.map(user => user.displayName).join(", ")
) : ""
anchors.left: parent.left
anchors.right: parent.right
height: visible ? implicitHeight : 0
Behavior on height {
NumberAnimation {