ImageComponent: make the image left aligned again. makes it work

properly for CompactLayout
This commit is contained in:
Darshan Phaldesai
2026-02-22 17:51:16 -07:00
parent 63ddfb6cb8
commit cab57cc656

View File

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