diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-05-12 19:14:19 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-05-16 03:09:44 +0000 |
commit | 21f5f9e07655f0ac34c65cc2a14489213097c622 (patch) | |
tree | e155fdfb5bd8bf6cbe34c6c16ba685b7704214b9 /src/imports/controls/BusyIndicator.qml | |
parent | ebcefb5586b387445d4152ba2ed833074d9a6ad6 (diff) |
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 <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/BusyIndicator.qml')
-rw-r--r-- | src/imports/controls/BusyIndicator.qml | 3 |
1 files changed, 2 insertions, 1 deletions
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 } } |