aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/PageIndicator.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-29 17:13:52 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-30 08:18:50 +0000
commit390fb0d4a8e4f308b225a86b48205b14633cf0e2 (patch)
tree873c89575197999773950aaa7748a72e4c4abb3f /src/imports/controls/PageIndicator.qml
parentdeac7d30a51d785ed01994b5cb0239a9f6b3f12e (diff)
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 <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/PageIndicator.qml')
-rw-r--r--src/imports/controls/PageIndicator.qml3
1 files changed, 1 insertions, 2 deletions
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 } }