make typing Rectangle extents cleaner

This commit is contained in:
Jussi Kuokkanen 2020-09-18 16:18:31 +03:00
parent bafe181010
commit 13658d536e
1 changed files with 3 additions and 3 deletions

View File

@ -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