From 62916cb7d4e267ed6de2641996451d8e7a268755 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 5 Jul 2021 17:34:13 +0200 Subject: [PATCH] Remove outline of background around connectivity badge After feedback from our designer, this turns out to no longer be desirable. Contributes to issue CURA-8247. --- resources/qml/PrinterSelector/MachineSelector.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/qml/PrinterSelector/MachineSelector.qml b/resources/qml/PrinterSelector/MachineSelector.qml index b7d256ca75..c12e364339 100644 --- a/resources/qml/PrinterSelector/MachineSelector.qml +++ b/resources/qml/PrinterSelector/MachineSelector.qml @@ -147,10 +147,9 @@ Cura.ExpandablePopup { id: iconBackground anchors.centerIn: parent - // Make it a bit bigger so there is an outline - width: parent.width + 2 * UM.Theme.getSize("default_lining").width - height: parent.height + 2 * UM.Theme.getSize("default_lining").height - radius: Math.round(width / 2) + width: parent.width - 1.5 //1.5 pixels smaller, (at least sqrt(2), regardless of screen pixel scale) so that the circle doesn't show up behind the icon due to anti-aliasing. + height: parent.height - 1.5 + radius: width / 2 color: UM.Theme.getColor("connection_badge_background") z: parent.z - 1 }