y: 4
height: 50
width: 50
+ visible: source != ""
}
- BusyIndicator { anchors.centerIn: image; on: image.status != Image.Ready }
+ BusyIndicator { anchors.centerIn: image; on: image.visible && image.status != Image.Ready }
BorderImage {
+ visible: image.visible
id: borderImage
anchors.fill: image
anchors.margins: -8
Text {
id: primaryText
- anchors { left: image.right; right: background.right; top: background.top; margins: 5; leftMargin: 10 }
+ anchors { left: image.visible ? image.right : background.left; right: background.right; top: background.top; margins: 5; leftMargin: 10 }
clip: true;
elide: Text.ElideRight
Behavior on height {