@@ -15,7 +15,7 @@
17import QtQuick 2.0
17import QtQuick 2.0
18−import Ubuntu.Components 0.1
18+import Ubuntu.Components 1.1
@@ -75,7 +75,7 @@ Item {
75 objectName: "countEmblem"
75 objectName: "countEmblem"
77 right: parent.right
77 right: parent.right
78− top: parent.top
78+ bottom: parent.bottom
79 margins: units.dp(3)
79 margins: units.dp(3)
81 width: Math.min(root.itemWidth, Math.max(units.gu(2), countLabel.implicitWidth + units.gu(1)))
81 width: Math.min(root.itemWidth, Math.max(units.gu(2), countLabel.implicitWidth + units.gu(1)))
@@ -100,20 +100,20 @@ Item {
103− BorderImage {
103+ UbuntuShape {
104 id: progressOverlay
104 id: progressOverlay
105 objectName: "progressOverlay"
105 objectName: "progressOverlay"
106 anchors {
106 anchors {
107 left: iconItem.left
107 left: iconItem.left
108 right: iconItem.right
108 right: iconItem.right
109− bottom: iconItem.bottom
109+ verticalCenter: parent.verticalCenter
110− leftMargin: units.gu(1)
110+ leftMargin: units.gu(1.5)
111− rightMargin: units.gu(1)
111+ rightMargin: units.gu(1.5)
112− bottomMargin: units.gu(1)
114− height: units.gu(1.5)
113+ height: units.gu(1)
115 visible: root.progress > -1
114 visible: root.progress > -1
116− source: "graphics/progressbar-trough.sci"
115+ color: UbuntuColors.darkGrey
116+ borderSource: "none"
118 // For fill calculation we need to remove the 2 units of border defined in .sci file
118 // For fill calculation we need to remove the 2 units of border defined in .sci file
119 property int adjustedWidth: width - units.gu(2)
119 property int adjustedWidth: width - units.gu(2)
@@ -127,14 +127,15 @@ Item {
127 width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
127 width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
128 clip: true
128 clip: true
130− BorderImage {
130+ UbuntuShape {
131 anchors {
131 anchors {
132 left: parent.left
132 left: parent.left
133 top: parent.top
133 top: parent.top
134 bottom: parent.bottom
134 bottom: parent.bottom
137+ borderSource: "none"
136 width: progressOverlay.width
138 width: progressOverlay.width
137− source: "graphics/progressbar-fill.sci"