Fix message width making time on its separate line

This commit is contained in:
miruka 2019-09-06 17:17:31 -04:00
parent 7c42066d75
commit be481b778a

View File

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