Fix globaldrawer RTL behaviour

This commit is contained in:
Bart De Vries 2023-02-19 19:35:01 +01:00
parent ad790a3343
commit 23395e683e

View File

@ -132,6 +132,7 @@ Kirigami.ApplicationWindow {
id: drawer id: drawer
modal: false modal: false
closePolicy: Controls.Popup.NoAutoClose closePolicy: Controls.Popup.NoAutoClose
edge: Qt.application.layoutDirection === Qt.RightToLeft ? Qt.RightEdge : Qt.LeftEdge
readonly property real pinnedWidth: Kirigami.Units.gridUnit * 3 readonly property real pinnedWidth: Kirigami.Units.gridUnit * 3
readonly property real widescreenBigWidth: Kirigami.Units.gridUnit * 10 readonly property real widescreenBigWidth: Kirigami.Units.gridUnit * 10