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 18:50:10 +0100
commite642e244d4bf54c53560f5f3574b1c048206ff33 (patch)
treedf6bd9551b6be7341329e13324fdd20238face30
parent6cdc66de4c49deef2e2c6c939ebb2d7295664397 (diff)
downloadmageiawelcome-e642e244d4bf54c53560f5f3574b1c048206ff33.tar
mageiawelcome-e642e244d4bf54c53560f5f3574b1c048206ff33.tar.gz
mageiawelcome-e642e244d4bf54c53560f5f3574b1c048206ff33.tar.bz2
mageiawelcome-e642e244d4bf54c53560f5f3574b1c048206ff33.tar.xz
mageiawelcome-e642e244d4bf54c53560f5f3574b1c048206ff33.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"
}