Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-01-03 13:20:27 +0300
committerJaime van Kessel <nallath@gmail.com>2022-01-03 13:20:27 +0300
commit60e6d7bcaedc45d2962954cfbd658f104ad56790 (patch)
tree680c125475b7d5c8872dd5c456ced322d130ff38 /plugins/Marketplace/resources
parent89c82964c348ae97f0bfa4226774a64260109977 (diff)
Fix too large clickable area for author info in package card
CURA-8588
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/PackageCardHeader.qml28
1 files changed, 15 insertions, 13 deletions
diff --git a/plugins/Marketplace/resources/qml/PackageCardHeader.qml b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
index 0bf93fc67c..3a76f7a959 100644
--- a/plugins/Marketplace/resources/qml/PackageCardHeader.qml
+++ b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
@@ -135,21 +135,23 @@ Item
}
// clickable author name
- Cura.TertiaryButton
+ Item
{
Layout.fillWidth: true
- Layout.preferredHeight: authorBy.height
- Layout.alignment: Qt.AlignCenter
-
- text: packageData.authorName
- textFont: UM.Theme.getFont("default_bold")
- textColor: UM.Theme.getColor("text") // override normal link color
- leftPadding: 0
- rightPadding: 0
- iconSource: UM.Theme.getIcon("LinkExternal")
- isIconOnRightSide: true
-
- onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
+ implicitHeight: authorBy.height
+ Layout.alignment: Qt.AlignTop
+ Cura.TertiaryButton
+ {
+ text: packageData.authorName
+ textFont: UM.Theme.getFont("default_bold")
+ textColor: UM.Theme.getColor("text") // override normal link color
+ leftPadding: 0
+ rightPadding: 0
+ iconSource: UM.Theme.getIcon("LinkExternal")
+ isIconOnRightSide: true
+
+ onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
+ }
}
ManageButton