diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-10-23 13:30:05 +0300 |
---|---|---|
committer | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-11-22 10:41:51 +0000 |
commit | 2b649a7da1980975117fd79769251cc433cebf1e (patch) | |
tree | b17661378a9759bbef38cf2fa0734dfd0f06acb3 /src/settingsui/settingsuiplugin/SettingsDelegate.qml | |
parent | f2f43cdcd05d52495dbe049c7d007900f42bafac (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/settingsuiplugin/SettingsDelegate.qml')
-rw-r--r-- | src/settingsui/settingsuiplugin/SettingsDelegate.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settingsui/settingsuiplugin/SettingsDelegate.qml b/src/settingsui/settingsuiplugin/SettingsDelegate.qml index abb864e..91f4ca4 100644 --- a/src/settingsui/settingsuiplugin/SettingsDelegate.qml +++ b/src/settingsui/settingsuiplugin/SettingsDelegate.qml @@ -52,7 +52,7 @@ Item { source: img anchors.fill: img visible: parent.isSelected ? true : false - color: "#41cd52" + color: viewSettings.buttonGreenColor } Text { @@ -65,7 +65,7 @@ Item { fontSizeMode: Text.Fit minimumPixelSize: 1 font.pixelSize: Math.min(parent.width * 0.25, parent.height) - color: parent.isSelected ? "#41cd52" : "white" + color: parent.isSelected ? viewSettings.buttonGreenColor : "white" wrapMode: Text.WordWrap verticalAlignment: Text.AlignVCenter font.family: appFont |