summaryrefslogtreecommitdiffstats
path: root/homescreen/qml/IconItem.qml
diff options
context:
space:
mode:
authorZheng Wenlong <wenlong_zheng@nexty-ele.com>2017-12-14 05:08:23 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-12-14 05:08:23 +0000
commite332c64be597445db4dfd475915765845649be49 (patch)
tree9d6717ed34d41623718fe07909e5ee1a47458b62 /homescreen/qml/IconItem.qml
parent228a3ff5d012c677a51aa3d5254a3cc0fa23049f (diff)
parent96c3e6d3562556d9877e0ced5bd1ab9197502708 (diff)
Merge "Display blank icon with first letter in new color scheme"
Diffstat (limited to 'homescreen/qml/IconItem.qml')
-rw-r--r--homescreen/qml/IconItem.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/homescreen/qml/IconItem.qml b/homescreen/qml/IconItem.qml
index c616722..b0373d2 100644
--- a/homescreen/qml/IconItem.qml
+++ b/homescreen/qml/IconItem.qml
@@ -13,7 +13,7 @@ Item {
y: 60
font.pixelSize: 125
anchors.horizontalCenter: parent.horizontalCenter
- color: "#5CFE96"
+ color: "#00ADDC"
text: model.icon == 'Blank' ? model.name.substring(0,1).toUpperCase() : ''
}
@@ -27,7 +27,7 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
color: "white"
- text: model.icon == 'Blank' ? model.name.toUpperCase() : ''
+ text: qsTr(model.name.toUpperCase())
}
source: './images/HMI_AppLauncher_%1_%2-01.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'Active' : 'Inactive')