diff options
-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 } } } |