summary refs log tree commit diff
path: root/resources/qml/TypingIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TypingIndicator.qml')
-rw-r--r--resources/qml/TypingIndicator.qml10
1 files changed, 4 insertions, 6 deletions
diff --git a/resources/qml/TypingIndicator.qml b/resources/qml/TypingIndicator.qml
index 704fe8ef..b6c502d8 100644
--- a/resources/qml/TypingIndicator.qml
+++ b/resources/qml/TypingIndicator.qml
@@ -8,30 +8,28 @@ import QtQuick.Layouts 1.2
 import im.nheko 1.0
 
 Item {
-    implicitHeight: Math.max(fontMetrics.height * 1.2, typingDisplay.height)
     Layout.fillWidth: true
+    implicitHeight: Math.max(fontMetrics.height * 1.2, typingDisplay.height)
 
     Rectangle {
         id: typingRect
 
-        visible: (room && room.typingUsers.length > 0)
-        color: palette.base
         anchors.fill: parent
+        color: palette.base
+        visible: (room && room.typingUsers.length > 0)
         z: 3
 
         Label {
             id: typingDisplay
 
+            anchors.bottom: parent.bottom
             anchors.left: parent.left
             anchors.leftMargin: 10
             anchors.right: parent.right
             anchors.rightMargin: 10
-            anchors.bottom: parent.bottom
             color: palette.text
             text: room ? room.formatTypingUsers(room.typingUsers, palette.base) : ""
             textFormat: Text.RichText
         }
-
     }
-
 }