on xenial help sign in
Add alias to allow hiding the skip link on the Edge Demo, hide it for the final step in the tour
commita2293716b2c04cfd0fb579c6963cd711a5282679 authormhall119 <mhall119@ubuntu.com> dateTue 3 Sep 2013, 10:09 (13 years ago) parentdf0d084
2 files changed+7−1
Components/EdgeDemo.qml+2−1 Components/EdgeDemoOverlay.qml+5
Components/EdgeDemo.qml+2−1
@@ -218,8 +218,9 @@ Item {
218218 d.finalEdgeDemo = d.overlay.createObject(demo.underlay, {
219219 "edge": "none",
220220 "title": i18n.tr("Well done"),
221− "text": i18n.tr("You have now mastered the edge gestures and can start using the phone. Tap anywhere to start"),
221+ "text": i18n.tr("You have now mastered the edge gestures and can start using the phone<br><br>Tap anywhere to start"),
222222 "anchors.fill": demo.dash,
223+ "showSkip": false,
223224 });
224225 }
225226 if (d.finalEdgeDemo) {
Components/EdgeDemoOverlay.qml+5
@@ -43,6 +43,11 @@ Showable {
4343 */
4444 property alias skipText: skipLabel.text
4545
46+ /*
47+ * This is the visible status of the skip button.
48+ */
49+ property alias showSkip: skipLabel.visible
50+
4651 /*
4752 * Whether this demo is running currently.
4853 */