mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -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
|
width: parent.width
|
||||||
|
|
||||||
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: authorBy
|
id: authorBy
|
||||||
|
@ -184,10 +186,15 @@ Rectangle
|
||||||
Cura.TertiaryButton
|
Cura.TertiaryButton
|
||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.preferredHeight: authorBy.height
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|
||||||
text: packageData.authorName
|
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?
|
// TODO on clicked (is link) -> MouseArea?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue