From 2d434a02e3649423339ef5ec887032c9c0f1d98e Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 25 Oct 2021 16:24:49 +0200 Subject: [PATCH] Align horizontal position of label to pixels Contributes to issue CURA-8556. --- plugins/Marketplace/resources/qml/Plugins.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Marketplace/resources/qml/Plugins.qml b/plugins/Marketplace/resources/qml/Plugins.qml index a613ac9d4f..dca1b8762b 100644 --- a/plugins/Marketplace/resources/qml/Plugins.qml +++ b/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")