summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Baker <jasperodus@zoho.com>2018-12-29 12:48:29 +0000
committerPapoteur <papoteur@mageia.org>2018-12-29 21:28:42 +0100
commitc1dc545c579b73ef405d311c36de8eef03ccd7b5 (patch)
treecbee55f21d64c2c22e7060336ec2ed16bd059f68
parentbe984dc38025bdd4eab7340874fa6c03d48e9b4b (diff)
downloadmageiawelcome-c1dc545c579b73ef405d311c36de8eef03ccd7b5.tar
mageiawelcome-c1dc545c579b73ef405d311c36de8eef03ccd7b5.tar.gz
mageiawelcome-c1dc545c579b73ef405d311c36de8eef03ccd7b5.tar.bz2
mageiawelcome-c1dc545c579b73ef405d311c36de8eef03ccd7b5.tar.xz
mageiawelcome-c1dc545c579b73ef405d311c36de8eef03ccd7b5.zip
MCC: First step in trying to emulate the button presentaion in Updates.
-rw-r--r--qml/mw-ui.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index ae1f381..a01d647 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -337,11 +337,14 @@ Rectangle {
Button {
id: mcc
x: 10
+ width: view.width * .18;
objectName: "launch"
onClicked: { launch.command(["drakconf"])}
style: ButtonStyle {
label: Label {
+ horizontalAlignment: TextInput.AlignHCenter
text: qsTr("Mageia Control Center")+" *";
+ width: parent.width
wrapMode: Text.WordWrap
color: "black"
}
@@ -349,11 +352,14 @@ Rectangle {
}
Button {
x: 10
+ width: view.width * .18;
objectName: "link"
onClicked: { link.weblink("https://www.mageia.org/doc")}
style: ButtonStyle {
label: Label {
+ horizontalAlignment: TextInput.AlignHCenter
text: qsTr("MCC documentation");
+ width: parent.width
wrapMode: Text.WordWrap
color: "black"
}