mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06: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
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue