diff --git a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml --- a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml +++ b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml @@ -83,15 +83,17 @@ } PlasmaCore.SvgItem { - visible: hiddenItemsView.visible && activeApplet - width: lineSvg.elementSize("vertical-line").width - x: hiddenLayout.width anchors { + left: parent.left + leftMargin: hiddenLayout.width top: parent.top bottom: parent.bottom margins: -units.gridUnit } + visible: hiddenItemsView.visible && activeApplet + width: lineSvg.elementSize("vertical-line").width + elementId: "vertical-line" svg: PlasmaCore.Svg { diff --git a/applets/systemtray/package/contents/ui/items/AbstractItem.qml b/applets/systemtray/package/contents/ui/items/AbstractItem.qml --- a/applets/systemtray/package/contents/ui/items/AbstractItem.qml +++ b/applets/systemtray/package/contents/ui/items/AbstractItem.qml @@ -101,18 +101,19 @@ PlasmaComponents.Label { id: label + anchors { + left: parent.left + leftMargin: iconItem ? iconItem.width + units.smallSpacing : 0 + verticalCenter: parent.verticalCenter + } opacity: labelVisible ? 1 : 0 - x: iconItem ? iconItem.width + units.smallSpacing : 0 visible: abstractItem.hidden Behavior on opacity { NumberAnimation { duration: units.longDuration easing.type: Easing.InOutQuad } } - anchors { - verticalCenter: parent.verticalCenter - } } } diff --git a/applets/systemtray/package/contents/ui/main.qml b/applets/systemtray/package/contents/ui/main.qml --- a/applets/systemtray/package/contents/ui/main.qml +++ b/applets/systemtray/package/contents/ui/main.qml @@ -290,6 +290,9 @@ mainItem: ExpandedRepresentation { id: expandedRepresentation activeApplet: root.activeApplet + + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft + LayoutMirroring.childrenInherit: true } } }