aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/IconItem.qml
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-14 07:21:23 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-12-14 07:21:23 +0000
commitbcb5f4da30e6a45441ee467e15ab99420543dfba (patch)
treeff288ba646e2fe9f828fc1cd0fbdc014bf781e60 /homescreen/qml/IconItem.qml
parente332c64be597445db4dfd475915765845649be49 (diff)
parentb11094e01c1fe8000475691591bb8f93376acec4 (diff)
Merge "Revert "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 b0373d2..c616722 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: "#00ADDC"
+ color: "#5CFE96"
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: qsTr(model.name.toUpperCase())
+ text: model.icon == 'Blank' ? 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')