on xenial help sign in
temporary hide some workspace elements
commit9744ffac317439b83cc65da58cc374d0850b7438 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 15 Jun 2015, 13:40 (11 years ago) parentc7ade0d
1 file changed+28−25
qml/Stages/DesktopStage.qml+28−25
qml/Stages/DesktopStage.qml+28−25
@@ -431,34 +431,37 @@ Rectangle {
431431 }
432432 }
433433
434− Rectangle {
435− anchors { left: parent.left; right: parent.right; bottom: parent.bottom }
436− height: units.dp(2)
437− color: UbuntuColors.orange
438− visible: index == 0 // TODO: should be active workspace index
439− }
434+ // TODO: This is the bar for the currently selected workspace
435+ // Enable this once the workspace stuff is implemented
436+// Rectangle {
437+// anchors { left: parent.left; right: parent.right; bottom: parent.bottom }
438+// height: units.dp(2)
439+// color: UbuntuColors.orange
440+// visible: index == 0 // TODO: should be active workspace index
441+// }
440442 }
441443
442444 }
443− Item {
444− Layout.fillHeight: true
445− Layout.preferredWidth: ((height - units.gu(6)) * root.width / root.height)
446− Rectangle {
447− anchors {
448− left: parent.left
449− right: parent.right
450− verticalCenter: parent.verticalCenter
451− }
452− height: parent.height * 0.75
453− color: "#22ffffff"
454−
455− Label {
456− anchors.centerIn: parent
457− font.pixelSize: parent.height / 2
458− text: "+"
459− }
460− }
461− }
445+ // TODO: This is the "new workspace" button. Enable this once workspaces are implemented
446+// Item {
447+// Layout.fillHeight: true
448+// Layout.preferredWidth: ((height - units.gu(6)) * root.width / root.height)
449+// Rectangle {
450+// anchors {
451+// left: parent.left
452+// right: parent.right
453+// verticalCenter: parent.verticalCenter
454+// }
455+// height: parent.height * 0.75
456+// color: "#22ffffff"
457+
458+// Label {
459+// anchors.centerIn: parent
460+// font.pixelSize: parent.height / 2
461+// text: "+"
462+// }
463+// }
464+// }
462465 Item { Layout.fillWidth: true }
463466 }
464467 }