Skip to content

Commit

Permalink
enable reversed locale layout in QML
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed Sep 25, 2023
1 parent a91c96b commit 7da4ff2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ ApplicationWindow {
toolTipText: Style.ncTextColor
}

LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLef
LayoutMirroring.childrenInherit: true

readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth

Component.onCompleted: Systray.forceWindowInit(trayWindow)
Expand Down

0 comments on commit 7da4ff2

Please sign in to comment.