From b1daa76d9f8e49ae84e4cd50b4c7f3ccd04f193f Mon Sep 17 00:00:00 2001 From: James Graham Date: Mon, 2 Oct 2023 18:55:54 +0000 Subject: [PATCH] Fix image reply sizing Use height rather than implicitHeight for the loader so that replies with images always size properly --- src/qml/ReplyComponent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/ReplyComponent.qml b/src/qml/ReplyComponent.qml index 2518f5212..18992b668 100644 --- a/src/qml/ReplyComponent.qml +++ b/src/qml/ReplyComponent.qml @@ -80,7 +80,7 @@ Item { GridLayout { id: mainLayout anchors.fill: parent - implicitHeight: Math.max(replyAvatar.implicitHeight, replyName.implicitHeight) + loader.implicitHeight + implicitHeight: Math.max(replyAvatar.implicitHeight, replyName.implicitHeight) + loader.height rows: 2 columns: 3