@@ -95,6 +95,7 @@ Item {
95 text: "Add workspace"
95 text: "Add workspace"
96 onTriggered: {
96 onTriggered: {
97 screen.addWorkspace();
97 screen.addWorkspace();
98+ Screens.sync(root.screensProxy)
@@ -110,8 +111,7 @@ Item {
110 if (screensProxy.count == 0) {
111 if (screensProxy.count == 0) {
111 return Math.min(implicitWidth, root.width - units.gu(8));
112 return Math.min(implicitWidth, root.width - units.gu(8));
113− // TODO: needs better logic: If this is the active/current screen, make it wide, otherwise narrow
114− return Math.min(implicitWidth, index == 0 ? units.gu(80) : units.gu(40), root.width)
114+ return Math.min(implicitWidth, model.screen.active ? root.width - units.gu(48) : units.gu(40))
117 Behavior on width { UbuntuNumberAnimation {} }
117 Behavior on width { UbuntuNumberAnimation {} }