Fix layout of author button

Bold, correct position and add the icon.

Contributes to issue CURA-8561.
This commit is contained in:
Ghostkeeper 2021-11-09 17:30:52 +01:00
parent 234475547e
commit 4119cf4209
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF

View file

@ -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?
}