summaryrefslogtreecommitdiffstats
path: root/src/settingsui/common/CustomTableView.qml
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-10-23 13:30:05 +0300
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-11-22 10:41:51 +0000
commit2b649a7da1980975117fd79769251cc433cebf1e (patch)
treeb17661378a9759bbef38cf2fa0734dfd0f06acb3 /src/settingsui/common/CustomTableView.qml
parentf2f43cdcd05d52495dbe049c7d007900f42bafac (diff)
Move theme color definitions to one place
Task-number: QTBUG-60084 Change-Id: Ie80c9ebc26bd7925c7f0f67404878818675c0f06 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/settingsui/common/CustomTableView.qml')
-rw-r--r--src/settingsui/common/CustomTableView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settingsui/common/CustomTableView.qml b/src/settingsui/common/CustomTableView.qml
index 9efd584..2eb42e4 100644
--- a/src/settingsui/common/CustomTableView.qml
+++ b/src/settingsui/common/CustomTableView.qml
@@ -64,7 +64,7 @@ ColumnLayout {
contentItem: Rectangle {
implicitWidth: listView.width * 0.0175
implicitHeight: listView.height * 0.5
- color: "#41cd52"
+ color: viewSettings.scrollBarColor
}
}
@@ -91,7 +91,7 @@ ColumnLayout {
antialiasing: false
smooth: false
renderType: listView.moving ? Text.NativeRendering : Text.QtRendering
- color: listView.currentIndex == delegateRectangle.index ? "#41cd52" : "white"
+ color: listView.currentIndex == delegateRectangle.index ? viewSettings.buttonGreenColor : "white"
font.family: appFont
}
}