summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-12-22 12:21:44 +0100
committerPapoteur <papoteur@mageia.org>2020-12-22 15:36:28 +0100
commit401ba7242bb5bc7d96632512116d4460cb3c88a2 (patch)
treeb6eeb219294ad3b193c4b51e6fe4478bcee78529 /qml
parent38d877059d5ada513660937efe61aa33efffcbe0 (diff)
downloadmageiawelcome-401ba7242bb5bc7d96632512116d4460cb3c88a2.tar
mageiawelcome-401ba7242bb5bc7d96632512116d4460cb3c88a2.tar.gz
mageiawelcome-401ba7242bb5bc7d96632512116d4460cb3c88a2.tar.bz2
mageiawelcome-401ba7242bb5bc7d96632512116d4460cb3c88a2.tar.xz
mageiawelcome-401ba7242bb5bc7d96632512116d4460cb3c88a2.zip
Adapt Uppdate screen to RTL
Diffstat (limited to 'qml')
-rw-r--r--qml/Updates.qml28
1 files changed, 18 insertions, 10 deletions
diff --git a/qml/Updates.qml b/qml/Updates.qml
index fb0fec3..fce4a22 100644
--- a/qml/Updates.qml
+++ b/qml/Updates.qml
@@ -4,22 +4,30 @@ import QtQuick.Controls 1
// Update page
Rectangle {
property var title: qsTr("Update")
+ LayoutMirroring.enabled: (direction == "LTR" ? false : true)
+ LayoutMirroring.childrenInherit: true
width: view.width; height: view.height
Loader { sourceComponent: slidebackground ;
anchors.fill: parent}
Column {
spacing: 10
- Label { text: qsTr("How Mageia manages updates"); font.bold: true;
- topPadding: 30 ; leftPadding: 20
- color: "white"}
- Label {
- width: slideshow.width - 40
- padding: 20
- text: qsTr("Mageia provides software which may be updated in order to fix bugs or security issues. It is highly recommended that you update your system regularly. \
+ Row {
+ width: view.width
+ Label { text: qsTr("How Mageia manages updates"); font.bold: true;
+ padding: 40
+ color: "white"}
+ }
+ Row {
+ width: view.width
+ Label {
+ width: view.width
+ padding: 40
+ text: qsTr("Mageia provides software which may be updated in order to fix bugs or security issues. It is highly recommended that you update your system regularly. \
An Update icon will appear in your task bar when new updates are available. To run the updates, just click on the icon below and give your user password - or use the Software Manager (root password). \
-This is a background process and you will be able to use your computer normally during the updates."+"\n");
- wrapMode: Text.WordWrap
- color: "white"
+This is a background process and you will be able to use your computer normally during the updates.");
+ wrapMode: Text.WordWrap
+ color: "white"
+ }
}
MButton {