diff options
author | Paweł Gronowski <a4b8231fbf6d87ff4c04@woland.xyz> | 2020-03-10 21:32:32 +0100 |
---|---|---|
committer | Paweł Gronowski <a4b8231fbf6d87ff4c04@woland.xyz> | 2020-03-17 12:09:40 +0100 |
commit | 0da47cd293db56563177b089a22c9c599ee41226 (patch) | |
tree | 9c16ddef5f9e45b9d12b4bc1b3c9b436df7fd90b /src | |
parent | 0d5a43fa84ffe298d028aded4478d5e388d58298 (diff) |
Material: Change RangeSlider's color to grey when not enabled
Change-Id: I0cc390e1a46242ef22bb7d5460701e7b14087ee7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/material/RangeSlider.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/RangeSlider.qml b/src/imports/controls/material/RangeSlider.qml index d735573a..16a6c82d 100644 --- a/src/imports/controls/material/RangeSlider.qml +++ b/src/imports/controls/material/RangeSlider.qml @@ -85,7 +85,7 @@ T.RangeSlider { width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width - 3 : 3 height: control.horizontal ? 3 : control.second.position * parent.height - control.first.position * parent.height - 3 - color: control.Material.accentColor + color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor } } } |