From cab57cc6560b9c79ef2ea4c00a0107dc3762829d Mon Sep 17 00:00:00 2001 From: Darshan Phaldesai Date: Sun, 22 Feb 2026 17:51:16 -0700 Subject: [PATCH] ImageComponent: make the image left aligned again. makes it work properly for CompactLayout --- src/messagecontent/ImageComponent.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/messagecontent/ImageComponent.qml b/src/messagecontent/ImageComponent.qml index 32eb178ed..0b534ea3e 100644 --- a/src/messagecontent/ImageComponent.qml +++ b/src/messagecontent/ImageComponent.qml @@ -147,7 +147,9 @@ Item { Loader { id: imageLoader - anchors.fill: parent + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.left: parent.left active: !root.componentAttributes.animated && !_private.hideImage sourceComponent: Image { @@ -163,7 +165,9 @@ Item { Loader { id: animatedImageLoader - anchors.fill: parent + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.left: parent.left active: (root?.componentAttributes.animated ?? false) && !_private.hideImage sourceComponent: AnimatedImage {