From f662717c0ab9a2a23fde199fb0bc79207fb641e8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:11:08 +1000 Subject: popouts/network: better rescan loading --- components/controls/StyledBusyIndicator.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'components/controls/StyledBusyIndicator.qml') diff --git a/components/controls/StyledBusyIndicator.qml b/components/controls/StyledBusyIndicator.qml index e54aafb..cc97c52 100644 --- a/components/controls/StyledBusyIndicator.qml +++ b/components/controls/StyledBusyIndicator.qml @@ -1,3 +1,4 @@ +import qs.services import qs.config import QtQuick import QtQuick.Controls @@ -7,6 +8,9 @@ BusyIndicator { property real implicitSize: Appearance.font.size.normal * 3 property real strokeWidth: Appearance.padding.small + property color fgColour: Colours.palette.m3primary + property color bgColour: Colours.palette.m3secondaryContainer + property real internalStrokeWidth: strokeWidth property string animState @@ -48,6 +52,8 @@ BusyIndicator { contentItem: CircularProgress { anchors.fill: parent strokeWidth: root.internalStrokeWidth + fgColour: root.fgColour + bgColour: root.bgColour padding: root.padding startAngle: updater.startFraction * 360 value: updater.endFraction - updater.startFraction -- cgit v1.2.3-freya