diff options
author | Papoteur <papoteur@mageia.org> | 2019-01-19 22:47:14 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-01-19 22:47:14 +0100 |
commit | 48b8233d6e344c0d8895b984093b9c3e4af8a86e (patch) | |
tree | 74fdaeb4535d82bb2268b1df8d77119e387b18ca | |
parent | 890566f42bf9a43c3fefe0e85b5a839ef63b99df (diff) | |
download | mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.gz mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.bz2 mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.xz mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.zip |
Add variable to select writing direction
-rw-r--r-- | qml/mw-ui.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index bd327f7..9ebc589 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -13,6 +13,11 @@ Rectangle { width: 1000; height: 700 property alias view: view + //: For Right to Left language, set this string to RTL + property var direction: qsTr("LTR") + LayoutMirroring.enabled: (direction == "LTR" ? false : true) + LayoutMirroring.childrenInherit: true + Settings { property alias width: box.width property alias height: box.height |