From c1dc545c579b73ef405d311c36de8eef03ccd7b5 Mon Sep 17 00:00:00 2001 From: Antony Baker Date: Sat, 29 Dec 2018 12:48:29 +0000 Subject: MCC: First step in trying to emulate the button presentaion in Updates. --- qml/mw-ui.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qml') 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" } -- cgit v1.2.1