summaryrefslogtreecommitdiffstats
path: root/qml/mw-ui.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-01-20 09:38:44 +0100
committerPapoteur <papoteur@mageia.org>2019-01-20 09:38:44 +0100
commit8e9806acde529498aa63f80fea32a80c8629e59b (patch)
treefbd472457c8630550cfb8d071a4ac64b14b3ca3a /qml/mw-ui.qml
parentac4ac641f979b67377b75fcc5af09012001c7126 (diff)
downloadmageiawelcome-8e9806acde529498aa63f80fea32a80c8629e59b.tar
mageiawelcome-8e9806acde529498aa63f80fea32a80c8629e59b.tar.gz
mageiawelcome-8e9806acde529498aa63f80fea32a80c8629e59b.tar.bz2
mageiawelcome-8e9806acde529498aa63f80fea32a80c8629e59b.tar.xz
mageiawelcome-8e9806acde529498aa63f80fea32a80c8629e59b.zip
more adaptative layout to RTL/LTR (install software)
Move Rpmdrake button Suppress reference to more information tab
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r--qml/mw-ui.qml58
1 files changed, 24 insertions, 34 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index a36cc49..5519618 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -445,12 +445,10 @@ Rectangle {
Loader { sourceComponent: slidebackground ;
anchors.fill: parent}
Column {
- //anchors.left: parent.left
- //anchors.verticalCenter: parent.verticalCenter
- x:10; y: 30
Label {
text: qsTr("Install and remove software")
- width: slideshow.width * .9
+ width: slideshow.width
+ topPadding: 30; leftPadding: 20;
padding: 10
font.bold: true
wrapMode: Text.WordWrap
@@ -458,31 +456,46 @@ Rectangle {
}
Label {
text: qsTr("With Mageia, you will find the software in the media repositories. Mageia users simply access these media via one of the Software Managers.");
- width: slideshow.width * .9;
- padding: 10
+ width: slideshow.width
+ padding: 20
wrapMode: Text.WordWrap
textFormat: Text.RichText
color: "white"
}
+ Button {
+ id: rpmdrake
+ anchors.left: parent.left; anchors.leftMargin: 20;
+ objectName: "launch"
+ onClicked: {
+ launch.command(["rpmdrake",])}
+ style: ButtonStyle {
+ label: Label {
+ text: qsTr("RPMdrake")+" *";
+ width: slideshow.width * .35
+ wrapMode: Text.WordWrap
+ color: "black"
+ }
+ }
+ }
Label {
text: qsTr("The next slide shows a small selection of popular applications - any of which may be installed at this point.<BR/>");
- width: slideshow.width * .9;
- padding: 10
+ width: slideshow.width
+ padding: 20
wrapMode: Text.WordWrap
textFormat: Text.RichText
color: "white"
}
Label {
text: qsTr("You can find a more detailed list here:");
- width: slideshow.width * .9;
- padding: 10
+ width: slideshow.width
+ padding: 20
wrapMode: Text.WordWrap
textFormat: Text.RichText
color: "white"
}
Button {
id: listApplicationsWiki
- x: 10
+ anchors.left: parent.left; anchors.leftMargin: 20
objectName: "link"
//: Translate only if the link is to a specific page for your language
onClicked: { link.weblink(qsTr("https://wiki.mageia.org/en/List_of_applications"))}
@@ -495,29 +508,6 @@ Rectangle {
}
}
}
- Label {
- text: "<BR />"+qsTr("You can find details of how to contact the community by selecting the <i>More information</i> tab.");
- width: slideshow.width * .9;
- padding: 10
- wrapMode: Text.WordWrap
- textFormat: Text.RichText
- color: "white"
- }
- Button {
- id: rpmdrake
- x: 10
- objectName: "launch"
- onClicked: {
- launch.command(["rpmdrake",])}
- style: ButtonStyle {
- label: Label {
- text: qsTr("RPMdrake")+" *";
- width: slideshow.width * .35
- wrapMode: Text.WordWrap
- color: "black"
- }
- }
- }
}
Label {
anchors {top: parent.bottom; topMargin: 3; horizontalCenter: parent.left; horizontalCenterOffset: parent.width * .4 }