From 4119cf420970b2fee440347f92dedf86a1f196e9 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 9 Nov 2021 17:30:52 +0100 Subject: [PATCH] Fix layout of author button Bold, correct position and add the icon. Contributes to issue CURA-8561. --- plugins/Marketplace/resources/qml/PackageCard.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/Marketplace/resources/qml/PackageCard.qml b/plugins/Marketplace/resources/qml/PackageCard.qml index 0e24cbcaa7..0c5f133dfb 100644 --- a/plugins/Marketplace/resources/qml/PackageCard.qml +++ b/plugins/Marketplace/resources/qml/PackageCard.qml @@ -172,6 +172,8 @@ Rectangle { width: parent.width + spacing: UM.Theme.getSize("default_margin").width + Label { id: authorBy @@ -184,10 +186,15 @@ Rectangle Cura.TertiaryButton { Layout.fillWidth: true + Layout.preferredHeight: authorBy.height Layout.alignment: Qt.AlignTop text: packageData.authorName - textFont: UM.Theme.getFont("default") + textFont: UM.Theme.getFont("default_bold") + leftPadding: 0 + rightPadding: 0 + iconSource: UM.Theme.getIcon("LinkExternal") + isIconOnRightSide: true // TODO on clicked (is link) -> MouseArea? }