diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-12-22 14:18:17 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-12-25 07:14:21 +0000 |
commit | 58e41da173b4ee63309ce94d20471e00fec2ea9a (patch) | |
tree | a9a86db03a0d43457b339eb789b2ee0a112cb447 /homescreen/qml/ShortcutIcon.qml | |
parent | 675661fa51a0092805cbd47dcaaffa84ee65e5c1 (diff) |
Improve management icons of homescreen
- sort out filenames of icons
- remove unnecessary margins of icon
- fix rule of converting metadata of app to icon's filename
Before: filename is made from id returns appfw
After: filename is lowercase of name defined in config.xml
- Add 2 new builtin icons, VIDEO and WEBBROWSER
Bug-AGL: SPEC-673
Change-Id: I606841b19c884687237c92012724f5a1a3f6f603
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
(cherry picked from commit 8b2fa00276456759fffdd97e210f643b46a0cb1e)
Diffstat (limited to 'homescreen/qml/ShortcutIcon.qml')
-rw-r--r-- | homescreen/qml/ShortcutIcon.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/homescreen/qml/ShortcutIcon.qml b/homescreen/qml/ShortcutIcon.qml index 39931d1..2fb653f 100644 --- a/homescreen/qml/ShortcutIcon.qml +++ b/homescreen/qml/ShortcutIcon.qml @@ -27,11 +27,11 @@ MouseArea { Image { id: icon anchors.fill: parent - source: './images/Shortcut/HMI_Shortcut_%1-01.svg'.arg(root.name) + source: './images/Shortcut/%1.svg'.arg(root.name.toLowerCase()) } Image { anchors.fill: parent - source: './images/Shortcut/HMI_Shortcut_%1_Active-01.svg'.arg(root.name) + source: './images/Shortcut/%1_active.svg'.arg(root.name.toLowerCase()) opacity: 1.0 - icon.opacity } Label { |