summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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