@@ -95,6 +95,7 @@ Item {
9595 text: "Add workspace"
9696 onTriggered: {
9797 screen.addWorkspace();
98+ Screens.sync(root.screensProxy)
9899 }
99100 }
100101 }
@@ -110,8 +111,7 @@ Item {
110111 if (screensProxy.count == 0) {
111112 return Math.min(implicitWidth, root.width - units.gu(8));
112113 }
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))
115115 }
116116
117117 Behavior on width { UbuntuNumberAnimation {} }