use namespace AlignmentFlag

Contributes to CURA-8640
This commit is contained in:
j.spijker@ultimaker.com 2022-03-24 11:58:42 +01:00 committed by Jelle Spijker
parent 3f8907d02a
commit 55cb86ebbd
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
6 changed files with 18 additions and 18 deletions

View file

@ -31,7 +31,7 @@ Item
Cura.SecondaryButton
{
Layout.alignment: Qt.AlignVCenter
Layout.alignment: Qt.AlignmentFlag.AlignVCenter
Layout.preferredHeight: UM.Theme.getSize("action_button").height
Layout.preferredWidth: height
@ -47,7 +47,7 @@ Item
Label
{
Layout.alignment: Qt.AlignVCenter
Layout.alignment: Qt.AlignmentFlag.AlignVCenter
Layout.fillWidth: true
text: detailPage.title
@ -93,4 +93,4 @@ Item
}
}
}
}
}