Show a BusyIndicator in the FullScreenImage while the image is loading

Implements #339
This commit is contained in:
Tobias Fella
2021-04-17 19:19:09 +02:00
parent 00681a8abe
commit f98eb78185

View File

@@ -28,7 +28,14 @@ ApplicationWindow {
onClicked: root.destroy()
}
BusyIndicator {
visible: image.status !== Image.Ready
anchors.centerIn: parent
running: visible
}
AnimatedImage {
id: image
anchors.centerIn: parent
width: Math.min(sourceSize.width, root.width)