@@ -137,7 +137,7 @@ Item {
139 shown: false
139 shown: false
140− width: root.width - (windowControlButtons.visible ? windowControlButtons.width : 0)
140+ width: root.width - (windowControlButtons.visible ? windowControlButtons.width + titleLabel.width : 0)
141 minimizedPanelHeight: units.gu(3)
141 minimizedPanelHeight: units.gu(3)
142 expandedPanelHeight: units.gu(7)
142 expandedPanelHeight: units.gu(7)
143 openedHeight: root.height - indicatorOrangeLine.height
143 openedHeight: root.height - indicatorOrangeLine.height
@@ -178,6 +178,23 @@ Item {
178 onMaximize: PanelState.maximize()
178 onMaximize: PanelState.maximize()
183+ objectName: "windowDecorationTitle"
185+ left: windowControlButtons.right
187+ margins: units.gu(0.7)
190+ height: windowControlButtons.height
191+ visible: windowControlButtons.visible
192+ verticalAlignment: Text.AlignVCenter
195+ text: PanelState.title
181 PanelSeparatorLine {
198 PanelSeparatorLine {
182 id: indicatorOrangeLine
199 id: indicatorOrangeLine
183 anchors {
200 anchors {