on xenial help sign in
add a preliminary close button to the highlight (asset needed)
815294dMichael Zanetti
qml/Stages/DecoratedWindow.qml+20
@@ -123,4 +123,24 @@ FocusScope {
123 ]
123 ]
124 }
124 }
125 }
125 }
126+
127+ Rectangle {
128+ color: "white"
129+ anchors { left: parent.left; top: parent.top; margins: -height/2 }
130+ height: units.gu(2)
131+ width: units.gu(2)
132+ radius: height / 2
133+ visible: root.highlightShown
134+ Label {
135+ anchors.centerIn: parent
136+ text: "X"
137+ color: "red"
138+ }
139+ MouseArea {
140+ anchors.fill: parent
141+ onClicked: {
142+ ApplicationManager.stopApplication(appId)
143+ }
144+ }
145+ }
126}
146}