Browse Source

Align horizontal position of label to pixels

Contributes to issue CURA-8556.
Ghostkeeper 3 years ago
parent
commit
2d434a02e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/Marketplace/resources/qml/Plugins.qml

+ 1 - 1
plugins/Marketplace/resources/qml/Plugins.qml

@@ -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")