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

properly for CompactLayout
This commit is contained in:
Darshan Phaldesai committed 2026-02-25 17:36:06 -07:00
1 parent 63ddfb6cb8
commit cab57cc656
1 file changed
+6 -2
+6 -2
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 {