From c9f79289565e0afd3e2cf15bcc2c09f05ea9766b Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Thu, 10 Dec 2020 11:56:35 +0100 Subject: [PATCH] fix(Usernamelabel): ensure message time is positioned correctly --- .../Chat/ChatColumn/MessageComponents/UsernameLabel.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/UsernameLabel.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/UsernameLabel.qml index 48ae9504cd..c101ef6a78 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/UsernameLabel.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/UsernameLabel.qml @@ -5,7 +5,7 @@ import "../../../../../imports" Item { id: root height: childrenRect.height - width: chatName.width + ensOrAlias.width + ensOrAlias.anchors.leftMargin + width: chatName.width + (ensOrAlias.visible ? ensOrAlias.width + ensOrAlias.anchors.leftMargin : 0) property string userName: "" property string localName: "" property string alias: ""