on xenial help sign in
update launcher background according to latest design Fixes: 1336314
19f2665Michael Zanetti
qml/Launcher/LauncherPanel.qml+11−14
@@ -22,8 +22,9 @@ import Ubuntu.Components.Popups 0.1
22import "../Components/ListItems"
22import "../Components/ListItems"
23import "../Components/"
23import "../Components/"
24
24
25−Item {
25+Rectangle {
26 id: root
26 id: root
27+ color: "#B2000000"
27
28
28 rotation: inverted ? 180 : 0
29 rotation: inverted ? 180 : 0
29
30
@@ -37,27 +38,16 @@ Item {
37 signal applicationSelected(string appId)
38 signal applicationSelected(string appId)
38 signal showDashHome()
39 signal showDashHome()
39
40
40− BorderImage {
41− id: background
42− source: "graphics/launcher_bg.sci"
43− anchors.fill: parent
44− anchors.rightMargin: root.inverted ? 0 : -units.gu(1)
45− anchors.leftMargin: root.inverted ? -units.gu(1) : 0
46− rotation: root.rotation
47− }
48−
49 Column {
41 Column {
50 id: mainColumn
42 id: mainColumn
51 anchors {
43 anchors {
52 fill: parent
44 fill: parent
53 }
45 }
54
46
55− MouseArea {
47+ Rectangle {
56− id: dashItem
57 width: parent.width
48 width: parent.width
58 height: units.gu(7)
49 height: units.gu(7)
59− onClicked: root.showDashHome()
50+ color: "#de4814"
60− z: 1
61 Image {
51 Image {
62 objectName: "dashItem"
52 objectName: "dashItem"
63 width: units.gu(5)
53 width: units.gu(5)
@@ -66,7 +56,14 @@ Item {
66 source: "graphics/home.png"
56 source: "graphics/home.png"
67 rotation: root.rotation
57 rotation: root.rotation
68 }
58 }
59+ MouseArea {
60+ id: dashItem
61+ anchors.fill: parent
62+ onClicked: root.showDashHome()
63+ z: 1
64+ }
69 }
65 }
66+
70 ThinDivider {
67 ThinDivider {
71 anchors {
68 anchors {
72 left: parent.left
69 left: parent.left
qml/Launcher/graphics/home@18.png

Binary file not shown.

qml/Launcher/graphics/launcher_bg@30.pngdeleted

Binary file not shown.

qml/Launcher/graphics/launcher_bg@30.scideleted−5
@@ -1,5 +0,0 @@
1−border.left: 4
2−border.top: 4
3−border.bottom: 4
4−border.right: 66
5−source: launcher_bg@30.png