summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-18 16:18:31 +0300
committerJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-18 16:18:31 +0300
commit13658d536e30be03d353e9d17e72108d4abe5ad9 (patch)
treeaf7996dabaa8b5d1a9637852c9b2a8fd7b5f3993 /resources
parentMerge branch 'master' of https://github.com/Lurkki14/nheko (diff)
downloadnheko-13658d536e30be03d353e9d17e72108d4abe5ad9.tar.xz
make typing Rectangle extents cleaner
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/TimelineView.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 15a3bf04..aa4d6846 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -438,14 +438,14 @@ Page {
                     id: typingRect
                     anchors.left: parent.left
                     anchors.right: parent.right
-                    anchors.leftMargin: 10
-                    anchors.rightMargin: 10
                     color: (chat.model && chat.model.typingUsers.length > 0) ? colors.window : "transparent"
-                    height: fontMetrics.height + 10
+                    height: chatFooter.height
                     Label {
                         id: typingDisplay
                         anchors.left: parent.left
+                        anchors.leftMargin: 10
                         anchors.right: parent.right
+                        anchors.rightMargin: 10
                         color: colors.text
                         text: chat.model ? chat.model.formatTypingUsers(chat.model.typingUsers, colors.window) : ""
                         textFormat: Text.RichText