From 43ac66267100fbdc9bacc6286f6c882a21248aa4 Mon Sep 17 00:00:00 2001 From: Petr Mironychev <9195189+Palm1r@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:46:11 +0100 Subject: [PATCH] fix: Text width in chat item --- ChatView/qml/ChatItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatView/qml/ChatItem.qml b/ChatView/qml/ChatItem.qml index df63bbe..9e5c7d7 100644 --- a/ChatView/qml/ChatItem.qml +++ b/ChatView/qml/ChatItem.qml @@ -46,7 +46,7 @@ Rectangle { // why does `required property MessagePart modelData` not work? required property var modelData - width: parent.width + Layout.preferredWidth: root.width sourceComponent: { // If `required property MessagePart modelData` is used // and conversion to MessagePart fails, you're left