on xenial help sign in
Transition to using real scope icons.
6a12b9fMichał Sawicz
Dash/DashBar.qml+3−8
@@ -26,7 +26,7 @@ Item {
26
26
27 property int lineHeight: units.dp(2)
27 property int lineHeight: units.dp(2)
28 property int itemSize: units.gu(7)
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 signal itemSelected(int index)
31 signal itemSelected(int index)
32
32
@@ -97,14 +97,9 @@ Item {
97
97
98 Image {
98 Image {
99 anchors.centerIn: parent
99 anchors.centerIn: parent
100− /* FIXME: should be 'source: scope.iconHint' but the
100+ source: scope.iconHint
101− scopes do not contain the right icons yet
102− */
103− source: "graphics/scopeIcons/%1.png".arg(scope.name)
104− height: iconSize
101+ sourceSize { width: iconSize; height: iconSize }
105− width: iconSize
106 // opacity: index == currentIndex ? 1 : 1 // same opacity for now
102 // opacity: index == currentIndex ? 1 : 1 // same opacity for now
107− smooth: true
108 }
103 }
109 }
104 }
110 }
105 }
Dash/graphics/scopeIcons/Applications@18.pngdeleted

Binary file not shown.

Dash/graphics/scopeIcons/Home Scope.pngdeleted

Binary file not shown.

Dash/graphics/scopeIcons/Home@18.pngdeleted

Binary file not shown.

Dash/graphics/scopeIcons/Music@18.pngdeleted

Binary file not shown.

Dash/graphics/scopeIcons/People@18.pngdeleted

Binary file not shown.

Dash/graphics/scopeIcons/Videos@18.pngdeleted

Binary file not shown.