From b26c6e81c2b35cce9f75d719d4528b4b47d29893 Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Sun, 22 Nov 2020 19:16:11 +0100 Subject: [PATCH] Avoid strange layout if user name is veeeeeeeery long --- qml/components/PhotoTextsListItem.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qml/components/PhotoTextsListItem.qml b/qml/components/PhotoTextsListItem.qml index 7fbaf08..ceba640 100644 --- a/qml/components/PhotoTextsListItem.qml +++ b/qml/components/PhotoTextsListItem.qml @@ -101,6 +101,8 @@ ListItem { Text { id: prologSecondaryText font.pixelSize: Theme.fontSizeExtraSmall + width: Math.min(implicitWidth, parent.width) + elide: Text.ElideRight color: Theme.highlightColor textFormat: Text.StyledText onTruncatedChanged: {