@@ -342,9 +342,10 @@ Item {
342342 id: rowLabel
343343 anchors {
344344 left: parent.left
345+ right: root.partialWidth ? parent.right : parent.left
346+ rightMargin: touchMenuIcon.width
345347 }
346348 objectName: "panelTitle"
347− width: root.width - __indicators.maxDragHandleSize - touchMenuIcon.width
348349 height: root.minimizedPanelHeight
349350 verticalAlignment: Text.AlignVCenter
350351 elide: Text.ElideRight
@@ -356,15 +357,14 @@ Item {
356357 opacity: __applicationMenus.visible && !__applicationMenus.expanded
357358 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
358359 visible: opacity !== 0
359− readonly property var implicitWidthWithMargin: implicitWidth === 0 ? 0 : implicitWidth + units.gu(1)
360360 }
361361
362362 Icon {
363363 id: touchMenuIcon
364364 objectName: "touchMenuIcon"
365365 anchors {
366− right: parent.right
367− rightMargin: parent.width - rowLabel.implicitWidthWithMargin - width
366+ left: parent.left
367+ leftMargin: rowLabel.contentWidth + units.dp(2)
368368 verticalCenter: parent.verticalCenter
369369 }
370370 width: units.gu(2)