mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-02 11:33:57 -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,12 +135,13 @@ 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
|
text: packageData.authorName
|
||||||
textFont: UM.Theme.getFont("default_bold")
|
textFont: UM.Theme.getFont("default_bold")
|
||||||
textColor: UM.Theme.getColor("text") // override normal link color
|
textColor: UM.Theme.getColor("text") // override normal link color
|
||||||
|
@ -151,6 +152,7 @@ Item
|
||||||
|
|
||||||
onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
|
onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ManageButton
|
ManageButton
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue