mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
make typing Rectangle extents cleaner
This commit is contained in:
parent
bafe181010
commit
13658d536e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue