summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-12-22 09:21:53 +0100
committerPapoteur <papoteur@mageia.org>2020-12-22 15:36:28 +0100
commit38d877059d5ada513660937efe61aa33efffcbe0 (patch)
tree5519c4cadab0908234c1c64d5e6f2c6c498b0066
parent63df7fa10d44461e0002290a28e1cecca6cda0aa (diff)
downloadmageiawelcome-38d877059d5ada513660937efe61aa33efffcbe0.tar
mageiawelcome-38d877059d5ada513660937efe61aa33efffcbe0.tar.gz
mageiawelcome-38d877059d5ada513660937efe61aa33efffcbe0.tar.bz2
mageiawelcome-38d877059d5ada513660937efe61aa33efffcbe0.tar.xz
mageiawelcome-38d877059d5ada513660937efe61aa33efffcbe0.zip
Allow text right to left in Configuration screen
-rw-r--r--qml/Configuration.qml17
1 files changed, 12 insertions, 5 deletions
diff --git a/qml/Configuration.qml b/qml/Configuration.qml
index 71171e7..b36f28d 100644
--- a/qml/Configuration.qml
+++ b/qml/Configuration.qml
@@ -4,6 +4,8 @@ import QtQuick.Dialogs 1.1
// Configuration summary Page
Rectangle {
+ LayoutMirroring.enabled: (direction == "LTR" ? false : true)
+ LayoutMirroring.childrenInherit: true
Version {id:version}
property var title: qsTr("Your configuration")
width: view.width; height: view.height
@@ -20,12 +22,17 @@ Rectangle {
id: confList
width: view.width
height: view.height -150
+ spacing: 3
model: ConfList
- delegate: Label {
- text: name
- leftPadding: 50
- textFormat: Text.RichText
- color: "white"
+ delegate: Row {
+ width: view.width
+ Label {
+ text: name
+ leftPadding: 50
+ rightPadding: 50
+ textFormat: Text.RichText
+ color: "white"
+ }
}
}
MButton {