Vertically align author components with manage buttons

To comply with UX design

cura 8587
This commit is contained in:
casper 2021-12-04 10:28:25 +01:00
parent 8400459e21
commit 58ee0d19fd

View File

@ -328,7 +328,7 @@ Rectangle
Label Label
{ {
id: authorBy id: authorBy
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignCenter
text: catalog.i18nc("@label", "By") text: catalog.i18nc("@label", "By")
font: UM.Theme.getFont("default") font: UM.Theme.getFont("default")
@ -339,7 +339,7 @@ Rectangle
{ {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: authorBy.height Layout.preferredHeight: authorBy.height
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignCenter
text: packageData.authorName text: packageData.authorName
textFont: UM.Theme.getFont("default_bold") textFont: UM.Theme.getFont("default_bold")