From be481b778a68495fea6276e2b524b7401c2fdf4a Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 6 Sep 2019 17:17:31 -0400 Subject: [PATCH] Fix message width making time on its separate line --- src/qml/Chat/Timeline/EventContent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Chat/Timeline/EventContent.qml b/src/qml/Chat/Timeline/EventContent.qml index 03eebc54..0bbddde3 100644 --- a/src/qml/Chat/Timeline/EventContent.qml +++ b/src/qml/Chat/Timeline/EventContent.qml @@ -53,8 +53,8 @@ Row { eventList.width - avatar.width - eventContent.spacing, theme.fontSize.normal * 0.5 * 75, // 600 with 16px font Math.max( - nameLabel.visible ? nameLabel.implicitWidth : 0, - contentLabel.implicitWidth, + nameLabel.visible ? (nameLabel.implicitWidth + 1) : 0, + contentLabel.implicitWidth + 1, ) ) height: childrenRect.height