~mzanetti/unity8/launcher-follow-unity-api

« back to all changes in this revision

Viewing changes to Dash/DashBar.qml

  • Committer: Michael Zanetti
  • Date: 2013-06-26 09:26:51 UTC
  • mfrom: (22.1.24 unity)
  • Revision ID: michael.zanetti@canonical.com-20130626092651-ku85xmvlt2pjgypx
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    property int lineHeight: units.dp(2)
28
28
    property int itemSize: units.gu(7)
29
 
    property int iconSize: units.gu(2.5)
 
29
    property int iconSize: units.gu(3.5)
30
30
 
31
31
    signal itemSelected(int index)
32
32
 
97
97
 
98
98
                        Image {
99
99
                            anchors.centerIn: parent
100
 
                            /* FIXME: should be 'source: lens.iconHint' but the
101
 
                               lenses do not contain the right icons yet
102
 
                            */
103
 
                            source: "graphics/lensIcons/%1.png".arg(lens.name)
104
 
                            height: iconSize
105
 
                            width: iconSize
 
100
                            source: scope.iconHint
 
101
                            sourceSize { width: iconSize; height: iconSize }
106
102
                            // opacity: index == currentIndex ? 1 : 1 // same opacity for now
107
 
                            smooth: true
108
103
                        }
109
104
                    }
110
105
            }