mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Fix too large clickable area for author info in package card
CURA-8588
This commit is contained in:
parent
89c82964c3
commit
60e6d7bcae
1 changed files with 14 additions and 12 deletions
|
@ -135,21 +135,23 @@ Item
|
||||||
}
|
}
|
||||||
|
|
||||||
// clickable author name
|
// clickable author name
|
||||||
Cura.TertiaryButton
|
Item
|
||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: authorBy.height
|
implicitHeight: authorBy.height
|
||||||
Layout.alignment: Qt.AlignCenter
|
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
|
||||||
|
|
||||||
text: packageData.authorName
|
onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
|
||||||
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
|
ManageButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue