@@ -52,9 +52,7 @@ Item {
5252 id: placeholder
5353 objectName: "placeholder"
5454 color: "#22FFFFFF"
55− width: shape.width
56− height: shape.height
57− anchors.centerIn: shape
55+ anchors.fill: shape
5856 visible: opacity != 0
5957
6058 ActivityIndicator {
@@ -115,7 +113,6 @@ Item {
115113 when: image.source == ""
116114 PropertyChanges { target: root; implicitWidth: root.initialWidth; implicitHeight: root.initialHeight }
117115 PropertyChanges { target: errorImage; opacity: 0 }
118− PropertyChanges { target: placeholder; width: root.initialWidth; height: root.initialHeight }
119116 },
120117 State {
121118 name: "loading"
@@ -153,7 +150,6 @@ Item {
153150 NumberAnimation { target: shape; property: "opacity"; easing.type: Easing.Linear }
154151 UbuntuNumberAnimation { target: root; properties: "implicitWidth,implicitHeight" }
155152 UbuntuNumberAnimation { target: shape; properties: "width,height" }
156− UbuntuNumberAnimation { target: placeholder; properties: "width,height" }
157153 NumberAnimation {
158154 targets: [placeholder, activity, errorImage]; property: "opacity";
159155 easing.type: Easing.Linear; duration: UbuntuAnimation.SnapDuration
@@ -174,7 +170,6 @@ Item {
174170 }
175171 UbuntuNumberAnimation { target: root; properties: "implicitWidth,implicitHeight" }
176172 UbuntuNumberAnimation { target: shape; properties: "width,height" }
177− UbuntuNumberAnimation { target: placeholder; properties: "width,height" }
178173 }
179174 PropertyAction { target: shape; property: "visible" }
180175 }