From 390fb0d4a8e4f308b225a86b48205b14633cf0e2 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 29 Oct 2015 17:13:52 +0100 Subject: Remove PageIndicator::color The color property was added in e828b9514. The idea was that it would be convenient to match the indicator against a specific background color, and that the property would be designable. However, the color property is basically impossible to support for styles that have specific color palettes for dark and light themes. => Implement a custom delegate if customization is required. Change-Id: I044bbe560a59362c585c801271cd2852456287b7 Reviewed-by: Mitch Curtis --- src/imports/controls/PageIndicator.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/imports/controls/PageIndicator.qml') diff --git a/src/imports/controls/PageIndicator.qml b/src/imports/controls/PageIndicator.qml index 445c51d3..e1361b83 100644 --- a/src/imports/controls/PageIndicator.qml +++ b/src/imports/controls/PageIndicator.qml @@ -48,7 +48,6 @@ T.PageIndicator { padding: 6 spacing: 6 - color: Theme.shadowColor // TODO //! [delegate] delegate: Rectangle { @@ -56,7 +55,7 @@ T.PageIndicator { implicitHeight: 8 radius: width / 2 - color: control.color + color: control.Theme.shadowColor // TODO opacity: index === currentIndex ? 0.95 : pressed ? 0.7 : 0.45 Behavior on opacity { OpacityAnimator { duration: 100 } } -- cgit v1.2.3