mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:15:55 +08:00
Fix layout of author button
Bold, correct position and add the icon. Contributes to issue CURA-8561.
This commit is contained in:
parent
234475547e
commit
4119cf4209
@ -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?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user