diff --git a/applets/kickoff/package/contents/ui/ApplicationsView.qml b/applets/kickoff/package/contents/ui/ApplicationsView.qml --- a/applets/kickoff/package/contents/ui/ApplicationsView.qml +++ b/applets/kickoff/package/contents/ui/ApplicationsView.qml @@ -108,6 +108,9 @@ pixelAligned: true //contentX: contentWidth - width + // HACK: Align the content to right for RTL locales + leftMargin: LayoutMirroring.enabled ? Math.max(0, width - contentWidth) : 0 + PlasmaComponents.ButtonRow { id: breadcrumbsElement @@ -132,7 +135,11 @@ } } onWidthChanged: { - breadcrumbFlickable.contentX = Math.max(0, breadcrumbsElement.width - breadcrumbFlickable.width) + if (LayoutMirroring.enabled) { + breadcrumbFlickable.contentX = -Math.max(0, breadcrumbsElement.width - breadcrumbFlickable.width) + } else { + breadcrumbFlickable.contentX = Math.max(0, breadcrumbsElement.width - breadcrumbFlickable.width) + } } } } // Flickable diff --git a/applets/kickoff/package/contents/ui/Header.qml b/applets/kickoff/package/contents/ui/Header.qml --- a/applets/kickoff/package/contents/ui/Header.qml +++ b/applets/kickoff/package/contents/ui/Header.qml @@ -97,6 +97,7 @@ level: 2 text: kuser.fullName elide: Text.ElideRight + horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignTop height: paintedHeight @@ -129,6 +130,7 @@ left: parent.left right: parent.right } + horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignBottom text: kuser.os != "" ? i18n("%2@%3 (%1)", kuser.os, kuser.loginName, kuser.host) : i18n("%1@%2", kuser.loginName, kuser.host) elide: Text.ElideRight diff --git a/applets/kickoff/package/contents/ui/KickoffItem.qml b/applets/kickoff/package/contents/ui/KickoffItem.qml --- a/applets/kickoff/package/contents/ui/KickoffItem.qml +++ b/applets/kickoff/package/contents/ui/KickoffItem.qml @@ -203,6 +203,7 @@ // TODO: games should always show the by name! text: model.display elide: Text.ElideRight + horizontalAlignment: Text.AlignLeft } PlasmaComponents.Label { id: subTitleElement @@ -219,6 +220,7 @@ opacity: isCurrent ? 0.8 : 0.6 font.pointSize: theme.smallestFont.pointSize elide: Text.ElideMiddle + horizontalAlignment: Text.AlignLeft } PlasmaCore.SvgItem {