diff --git a/src/gui/UserStatusSelectorDialog.qml b/src/gui/UserStatusSelectorDialog.qml index 3f86f8cf9bd25..14ab3b8533df6 100644 --- a/src/gui/UserStatusSelectorDialog.qml +++ b/src/gui/UserStatusSelectorDialog.qml @@ -1,3 +1,5 @@ +import QtQml 2.15 +import QtQuick 2.15 import QtQuick.Window 2.15 import com.nextcloud.desktopclient 1.0 as NC @@ -20,6 +22,9 @@ Window { flags: Qt.Dialog + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLef + LayoutMirroring.childrenInherit: true + UserStatusSelector { id: view userStatusSelectorModel: model diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index cfb6aaacd40c4..5efaacd4155ef 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -25,6 +25,9 @@ Window { property int fileActivityDialogObjectId: -1 + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLef + LayoutMirroring.childrenInherit: true + readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth function openFileActivityDialog(objectName, objectId) {