From 5cb56b74e263356293781a53c77402e8e55220cb Mon Sep 17 00:00:00 2001 From: jelle Spijker Date: Wed, 28 Apr 2021 11:24:33 +0200 Subject: [PATCH] Updated the ExtruderIcon to not look completely horrible This icon is due for a revisit with ticket: - CURA-8011 Replace extruder/material icon Therefore out-of-scope for this ticket. CURA-8010_new_icons --- resources/qml/ExtruderIcon.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/qml/ExtruderIcon.qml b/resources/qml/ExtruderIcon.qml index f719005134..3ec5922fcd 100644 --- a/resources/qml/ExtruderIcon.qml +++ b/resources/qml/ExtruderIcon.qml @@ -32,15 +32,14 @@ Item width: height height: Math.round(parent.height / 2) - radius: Math.round(width / 2) + radius: Math.round(width) color: UM.Theme.getColor("toolbar_background") anchors { horizontalCenter: parent.horizontalCenter top: parent.top - // The circle needs to be slightly off center (so it sits in the middle of the square bit of the icon) - topMargin: (parent.height - height) / 2 - 0.1 * parent.height + topMargin: (parent.height - height) / 2 } Label