mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +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
|
id: typingRect
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.leftMargin: 10
|
|
||||||
anchors.rightMargin: 10
|
|
||||||
color: (chat.model && chat.model.typingUsers.length > 0) ? colors.window : "transparent"
|
color: (chat.model && chat.model.typingUsers.length > 0) ? colors.window : "transparent"
|
||||||
height: fontMetrics.height + 10
|
height: chatFooter.height
|
||||||
Label {
|
Label {
|
||||||
id: typingDisplay
|
id: typingDisplay
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: 10
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: 10
|
||||||
color: colors.text
|
color: colors.text
|
||||||
text: chat.model ? chat.model.formatTypingUsers(chat.model.typingUsers, colors.window) : ""
|
text: chat.model ? chat.model.formatTypingUsers(chat.model.typingUsers, colors.window) : ""
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
|
|
Loading…
Reference in a new issue