Show a BusyIndicator in the FullScreenImage while the image is loading
Implements #339
This commit is contained in:
@@ -28,7 +28,14 @@ ApplicationWindow {
|
|||||||
onClicked: root.destroy()
|
onClicked: root.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BusyIndicator {
|
||||||
|
visible: image.status !== Image.Ready
|
||||||
|
anchors.centerIn: parent
|
||||||
|
running: visible
|
||||||
|
}
|
||||||
|
|
||||||
AnimatedImage {
|
AnimatedImage {
|
||||||
|
id: image
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
width: Math.min(sourceSize.width, root.width)
|
width: Math.min(sourceSize.width, root.width)
|
||||||
|
|||||||
Reference in New Issue
Block a user