From 21f5f9e07655f0ac34c65cc2a14489213097c622 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 12 May 2017 19:14:19 +0200 Subject: QQuickDefaultBusyIndicator: allow specifying pen and fill separately One color is enough for the current Default style, but if we allow configuring the colors, it must be possible to have them separately to be able to get decent looks. Change-Id: Ibbe6b73142edc9829ca75603cd2e86654ae824b0 Reviewed-by: Mitch Curtis --- src/imports/controls/BusyIndicator.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/imports/controls/BusyIndicator.qml') diff --git a/src/imports/controls/BusyIndicator.qml b/src/imports/controls/BusyIndicator.qml index 5690c71f..e3757703 100644 --- a/src/imports/controls/BusyIndicator.qml +++ b/src/imports/controls/BusyIndicator.qml @@ -51,7 +51,8 @@ T.BusyIndicator { implicitWidth: 48 implicitHeight: 48 - color: Default.textColor + pen: Default.textColor + fill: Default.textColor opacity: control.running ? 1 : 0 visible: control.running || animator.running Behavior on opacity { OpacityAnimator { id: animator; duration: 250 } } -- cgit v1.2.3