Align horizontal position of label to pixels

Contributes to issue CURA-8556.
This commit is contained in:
Ghostkeeper 2021-10-25 16:24:49 +02:00
parent f14a512718
commit 2d434a02e3
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -33,7 +33,7 @@ ScrollView
{
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: (parent.height - height) / 2
anchors.leftMargin: Math.round((parent.height - height) / 2)
text: model.package.displayName
font: UM.Theme.getFont("medium_bold")