summaryrefslogtreecommitdiffstats
path: root/src/settingsui/timedate/CustomComboBox.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/timedate/CustomComboBox.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/timedate/CustomComboBox.qml')
-rw-r--r--src/settingsui/timedate/CustomComboBox.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settingsui/timedate/CustomComboBox.qml b/src/settingsui/timedate/CustomComboBox.qml
index 3c8e752..66c3559 100644
--- a/src/settingsui/timedate/CustomComboBox.qml
+++ b/src/settingsui/timedate/CustomComboBox.qml
@@ -47,7 +47,7 @@ ComboBox {
id: indicatorOverlay
source: indicatorImage
anchors.fill: indicatorImage
- color: "#41cd52"
+ color: viewSettings.buttonGreenColor
visible: false
rotation: -90
}
@@ -64,7 +64,7 @@ ComboBox {
}
background: Rectangle {
color: "transparent"
- border.color: "#9d9faa"
+ border.color: viewSettings.borderColor
border.width: comboBox.visualFocus ? 2 : 1
}
popup: Popup {
@@ -90,8 +90,8 @@ ComboBox {
indicatorOverlay.visible = false
}
background: Rectangle {
- border.color: "#9d9faa"
- color: "#09102b"
+ border.color: viewSettings.borderColor
+ color: viewSettings.backgroundColor
opacity: 0.95
}
}