on xenial help sign in
add icon, adjust visuals
commit0144005f75f44be4c2939bf6efcdf482cf7fd607 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 23 Jan 2017, 15:50 (10 years ago) parent8f35850
2 files changed+10−3
qml/Stage/WorkspacePreview.qml+10−3 qml/Stage/graphics/multi-monitor_leave.png
qml/Stage/WorkspacePreview.qml+10−3
@@ -94,14 +94,14 @@ UbuntuShape {
9494 id: mouseArea
9595 anchors.centerIn: parent
9696 anchors.verticalCenterOffset: header.height / 2
97− width: units.gu(10)
97+ width: units.gu(8)
9898 height: width
9999 hoverEnabled: true
100100 opacity: containsMouse ? 1 : 0
101101
102102 Rectangle {
103103 anchors.fill: parent
104− color: "#55000000"
104+ color: "#80000000"
105105 radius: height / 2
106106 }
107107
@@ -138,7 +138,7 @@ UbuntuShape {
138138
139139 ctx.lineWidth = lineWidth;
140140
141− ctx.strokeStyle = "#55ffffff"
141+ ctx.strokeStyle = "#3bffffff"
142142 ctx.beginPath();
143143 ctx.arc(canvas.width/2,canvas.height/2, (canvas.height - ctx.lineWidth) / 2, 0, (Math.PI*2),false);
144144 ctx.stroke();
@@ -153,5 +153,12 @@ UbuntuShape {
153153 ctx.restore();
154154 }
155155 }
156+
157+ Icon {
158+ source: "graphics/multi-monitor_leave.png"
159+ height: units.gu(4)
160+ width: height
161+ anchors.centerIn: parent
162+ }
156163 }
157164}
qml/Stage/graphics/multi-monitor_leave.pngnew file

Binary file not shown.