From b850d8c18e023e9c3536d3e3daa32b1337dfa4a6 Mon Sep 17 00:00:00 2001 From: Konstantinos Karmas Date: Tue, 6 Jul 2021 14:10:19 +0200 Subject: [PATCH] Center the extruder icon in the tabRowButton in the custom print settings CURA-8011 and CURA-8202 --- .../qml/PrintSetupSelector/Custom/CustomPrintSetup.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml index 120aca9228..cde2cd8dfc 100644 --- a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml +++ b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml @@ -226,12 +226,12 @@ Item { Cura.ExtruderIcon { - anchors.horizontalCenter: parent.horizontalCenter + anchors.centerIn: parent materialColor: model.color extruderEnabled: model.enabled iconVariant: "default" - width: UM.Theme.getSize("medium_button_icon").width - height: UM.Theme.getSize("medium_button_icon").height + height: parent.height + width: height } } onClicked: