Fix too large clickable area for author info in package card

CURA-8588
This commit is contained in:
Jaime van Kessel 2022-01-03 11:20:27 +01:00
parent 89c82964c3
commit 60e6d7bcae

View file

@ -135,12 +135,13 @@ Item
}
// clickable author name
Cura.TertiaryButton
Item
{
Layout.fillWidth: true
Layout.preferredHeight: authorBy.height
Layout.alignment: Qt.AlignCenter
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
@ -151,6 +152,7 @@ Item
onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
}
}
ManageButton
{