summaryrefslogtreecommitdiffstats
path: root/qml/mw-ui.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-01-19 22:47:14 +0100
committerPapoteur <papoteur@mageia.org>2019-01-19 22:47:14 +0100
commit48b8233d6e344c0d8895b984093b9c3e4af8a86e (patch)
tree74fdaeb4535d82bb2268b1df8d77119e387b18ca /qml/mw-ui.qml
parent890566f42bf9a43c3fefe0e85b5a839ef63b99df (diff)
downloadmageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar
mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.gz
mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.bz2
mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.tar.xz
mageiawelcome-48b8233d6e344c0d8895b984093b9c3e4af8a86e.zip
Add variable to select writing direction
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r--qml/mw-ui.qml5
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