summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorAntony Baker <jasperodus@zoho.com>2018-12-19 13:03:24 +0000
committerPapoteur <papoteur@mageia.org>2018-12-19 16:34:08 +0100
commit829ff2fea45a863f133278719bfd1ed3c29b3926 (patch)
tree952ae01801ef299fa180f4d115ebaec4cb8a1992 /qml
parent85ed93222feade52b274f62bab0d85a21789cdaa (diff)
downloadmageiawelcome-829ff2fea45a863f133278719bfd1ed3c29b3926.tar
mageiawelcome-829ff2fea45a863f133278719bfd1ed3c29b3926.tar.gz
mageiawelcome-829ff2fea45a863f133278719bfd1ed3c29b3926.tar.bz2
mageiawelcome-829ff2fea45a863f133278719bfd1ed3c29b3926.tar.xz
mageiawelcome-829ff2fea45a863f133278719bfd1ed3c29b3926.zip
Applications: make all buttons equal width, and centre text within buttons.
Diffstat (limited to 'qml')
-rw-r--r--qml/mw-ui.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 731f5a0..bf2fd69 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -567,7 +567,7 @@ It is highly recommended that you update your system regularly. An Update icon w
id: repotag
Rectangle {
color: "red"
- radius: 5
+ radius: 3
width: 70; height: 20
Label {
anchors.centerIn: parent
@@ -582,11 +582,13 @@ It is highly recommended that you update your system regularly. An Update icon w
Loader {
Component { id: button;
Button {
+ width: view.width * .07
objectName: "launch"
onClicked: {
launch.command(["gurpmi",name,])}
style: ButtonStyle {
label: Label {
+ horizontalAlignment: TextInput.AlignHCenter
text: qsTr("Install");
}
}
@@ -594,11 +596,13 @@ It is highly recommended that you update your system regularly. An Update icon w
}
Component { id: launcher;
Button {
+ width: view.width * .07
objectName: "launch"
onClicked: {
launch.command([command,])}
style: ButtonStyle {
label: Label {
+ horizontalAlignment: TextInput.AlignHCenter
text: qsTr("Launch");
}
}