@@ -14,7 +14,7 @@
1414 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1515 */
1616
17−import QtQuick 2.0
17+import QtQuick 2.3
1818import Ubuntu.Components 1.1
1919import QtGraphicalEffects 1.0
2020
@@ -29,14 +29,14 @@ Item {
2929
3030 property string leftIconName
3131 property string rightIconName
32− readonly property double sliderHeight: 6
32+ readonly property double sliderHeight: units.gu(6)
3333 readonly property double gap: units.gu(1)
3434 readonly property double halfWay: mouseArea.drag.maximumX / 2
3535
3636 Rectangle {
3737 id: gradient
3838 width: parent.width * 5
39− height: units.gu(sliderHeight)
39+ height: sliderHeight
4040 visible: false
4141 LinearGradient {
4242 anchors.fill: parent
@@ -67,7 +67,7 @@ Item {
6767 id: mask
6868 color: "black"
6969 width: parent.width
70− height: units.gu(sliderHeight)
70+ height: sliderHeight
7171 borderSource: "none"
7272 visible: false
7373 }
@@ -83,7 +83,7 @@ Item {
8383
8484 ShaderEffect {
8585 width: parent.width
86− height: units.gu(sliderHeight)
86+ height: sliderHeight
8787 property variant mask: effectSourceMask
8888 property variant gradient: effectSourceGradient
8989 vertexShader: "