From f98eb781853aae39364b39b96fdaba03f8596589 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 17 Apr 2021 19:19:09 +0200 Subject: [PATCH] Show a BusyIndicator in the FullScreenImage while the image is loading Implements #339 --- imports/NeoChat/Component/FullScreenImage.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/imports/NeoChat/Component/FullScreenImage.qml b/imports/NeoChat/Component/FullScreenImage.qml index e7f999d91..4bec39711 100644 --- a/imports/NeoChat/Component/FullScreenImage.qml +++ b/imports/NeoChat/Component/FullScreenImage.qml @@ -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)