From 35c3bb42c7ad63ad5102d4a17f9c91d08f151c23 Mon Sep 17 00:00:00 2001 From: Antony Baker Date: Thu, 20 Dec 2018 16:58:17 +0000 Subject: Welcome: Centre welcome text. --- qml/mw-ui.qml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 4cb9de8..6133b7c 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -52,17 +52,19 @@ Rectangle { } Column { anchors.centerIn: parent + anchors.verticalCenter: parent.verticalCenter Label { //: the %1 will be replaced with the user name - text: qsTr("Welcome to Mageia, %1").arg(user)+'\n\n' - font.bold: true + horizontalAlignment: TextInput.AlignHCenter + x:85 + text: qsTr("Welcome to Mageia, %1").arg(user)+'\n' + font.bold: true; font.pointSize: 14 } Label { - text: qsTr("We are going to guide you through a few important steps
- and help you with the configuration of your newly installed system. -
Now, click on Media sources to go to the first step."); + horizontalAlignment: TextInput.AlignHCenter + text: qsTr("We are going to guide you through a few important steps and help
you with the configuration of your newly installed system.

Now, click on Media sources to go to the first step."); textFormat: Text.RichText } } @@ -85,7 +87,7 @@ Rectangle { Column { anchors.left: parent.left anchors.leftMargin: 20 - y:35 + y: 35 Label { text: qsTr("Configure software repositories"); font.bold: true; } Label { text: qsTr("Mageia official repositories contain:"); } GridLayout { @@ -234,7 +236,7 @@ Rectangle { } Column { - x:10; y: 35 + x:10; y: 30 Label { text: qsTr("How Mageia manages updates"); font.bold: true; padding: 10 } Label { width: slideshow.width * .9 @@ -285,7 +287,7 @@ Rectangle { } Column { - x: 10; y: 35 + x: 10; y: 30 Label { text: qsTr("Mageia Control Center (aka drakconf) is a set of tools to help you configure your system.") width: view.width * 0.9 @@ -357,7 +359,7 @@ Rectangle { Column { //anchors.left: parent.left //anchors.verticalCenter: parent.verticalCenter - x:10; y: 35 + x:10; y: 30 Label { text: qsTr("Install and remove software") width: slideshow.width * .9 -- cgit v1.2.1