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

@ -402,7 +402,7 @@ Window
UM.Label
{
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
Layout.alignment: Qt.AlignmentFlag.AlignVCenter
text: catalog.i18nc("@text Asking the user whether printers are missing in a list.", "Printers missing?")
+ "\n"
+ catalog.i18nc("@text", "Make sure all your printers are turned ON and connected to Digital Factory.")
@ -413,7 +413,7 @@ Window
Cura.SecondaryButton
{
id: refreshListButton
Layout.alignment: Qt.AlignVCenter
Layout.alignment: Qt.AlignmentFlag.AlignVCenter
text: catalog.i18nc("@button", "Refresh List")
iconSource: UM.Theme.getIcon("ArrowDoubleCircleRight")
onClicked: Cura.API.account.sync(true)