diff options
author | Papoteur <papoteur@mageia.org> | 2019-03-26 13:32:29 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-03-26 14:23:39 +0100 |
commit | 406312b33d6737ba840794510eca6d0eafbc40ab (patch) | |
tree | 960f8504b1dc1b1ba311f32b5dea74e13f15c9a8 /qml/mw-ui.qml | |
parent | c615fee86e2d8ccb860413a727c20878e040f982 (diff) | |
download | mageiawelcome-406312b33d6737ba840794510eca6d0eafbc40ab.tar mageiawelcome-406312b33d6737ba840794510eca6d0eafbc40ab.tar.gz mageiawelcome-406312b33d6737ba840794510eca6d0eafbc40ab.tar.bz2 mageiawelcome-406312b33d6737ba840794510eca6d0eafbc40ab.tar.xz mageiawelcome-406312b33d6737ba840794510eca6d0eafbc40ab.zip |
Introduce special MButton
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r-- | qml/mw-ui.qml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 785564e..8ee195e 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -285,20 +285,13 @@ Rectangle { Layout.columnSpan: 2 Layout.margins: 10 } - Button { + MButton { Layout.maximumWidth: slideshow.width * .40 Layout.columnSpan: 2 Layout.alignment: Qt.AlignHCenter objectName: "launch" - onClicked: { launch.command(["drakrpm-edit-media",])} - style: ButtonStyle { - label: Label { - text: qsTr("Edit software sources")+" *"; - width: parent.width - wrapMode: Text.WordWrap - color: "black" - } - } + onMbuttonClicked: { launch.command(["drakrpm-edit-media",])} + buttonText: qsTr("Edit software sources")+" *" } } |