diff --git a/src/declarativeimports/plasmacomponents/qml/Button.qml b/src/declarativeimports/plasmacomponents/qml/Button.qml index 94799e94c..4d205e1d8 100644 --- a/src/declarativeimports/plasmacomponents/qml/Button.qml +++ b/src/declarativeimports/plasmacomponents/qml/Button.qml @@ -114,6 +114,8 @@ Item { } } + LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft) + LayoutMirroring.childrenInherit: true implicitHeight: Math.floor(Math.max(theme.mSize(theme.defaultFont).height*1.6, minimumHeight)) // TODO: needs to define if there will be specific graphics for diff --git a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml index 9896f6b08..eca0a347b 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml @@ -94,6 +94,8 @@ Item { */ property real minimumHeight: Math.max(units.iconSizes.small, label.paintedHeight) + delegate.margins.top + delegate.margins.top + LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft) + LayoutMirroring.childrenInherit: true implicitWidth: { if (label.text.length == 0) { height;