diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 23:11:08 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 23:11:08 +1000 |
| commit | f662717c0ab9a2a23fde199fb0bc79207fb641e8 (patch) | |
| tree | e4af220fc916f81dc7f07e421b3c1027b794b485 /components | |
| parent | nix: fix patch (diff) | |
| download | caelestia-shell-f662717c0ab9a2a23fde199fb0bc79207fb641e8.tar.gz caelestia-shell-f662717c0ab9a2a23fde199fb0bc79207fb641e8.tar.bz2 caelestia-shell-f662717c0ab9a2a23fde199fb0bc79207fb641e8.zip | |
popouts/network: better rescan loading
Diffstat (limited to 'components')
| -rw-r--r-- | components/controls/StyledBusyIndicator.qml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |