From 401ba7242bb5bc7d96632512116d4460cb3c88a2 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 22 Dec 2020 12:21:44 +0100 Subject: Adapt Uppdate screen to RTL --- qml/Updates.qml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'qml') 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 { -- cgit v1.2.1