diff options
author | Antony Baker <jasperodus@zoho.com> | 2018-12-23 20:21:04 +0000 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-12-25 10:19:15 +0100 |
commit | 6e229e8a618d3eaa4969b68b5af8a69ba436b2f3 (patch) | |
tree | 48d8aac80d101206bb3c011eab6506fd6c939102 /qml/mw-ui.qml | |
parent | 666b736349126a5036130321628d9bc9939f7710 (diff) | |
download | mageiawelcome-6e229e8a618d3eaa4969b68b5af8a69ba436b2f3.tar mageiawelcome-6e229e8a618d3eaa4969b68b5af8a69ba436b2f3.tar.gz mageiawelcome-6e229e8a618d3eaa4969b68b5af8a69ba436b2f3.tar.bz2 mageiawelcome-6e229e8a618d3eaa4969b68b5af8a69ba436b2f3.tar.xz mageiawelcome-6e229e8a618d3eaa4969b68b5af8a69ba436b2f3.zip |
Applications: Reduce Install/Launch button size so that they more closely align with corresponding rows.
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r-- | qml/mw-ui.qml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 9193d3f..d7f75a1 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -594,10 +594,11 @@ Rectangle { Rectangle { color: "red" radius: 3 - width: 70; height: 20 + width: 60; height: 20 Label { anchors.centerIn: parent text: repo + font.pixelSize: Qt.application.font.pixelSize * .8 } } } @@ -608,28 +609,32 @@ Rectangle { Loader { Component { id: button; Button { - width: view.width * .07 + width: view.width * .06; height: 20 objectName: "launch" onClicked: { launch.command(["gurpmi",name,])} style: ButtonStyle { label: Label { horizontalAlignment: TextInput.AlignHCenter + verticalAlignment: TextInput.AlignVCenter text: qsTr("Install"); + font.pixelSize: Qt.application.font.pixelSize * .8 } } } } Component { id: launcher; Button { - width: view.width * .07 + width: view.width * .06; height: 20 objectName: "launch" onClicked: { launch.command([command,])} style: ButtonStyle { label: Label { horizontalAlignment: TextInput.AlignHCenter + verticalAlignment: TextInput.AlignVCenter text: qsTr("Launch"); + font.pixelSize: Qt.application.font.pixelSize * .8 } } } |