Center the extruder icon in the tabRowButton in the custom print settings

CURA-8011 and CURA-8202
This commit is contained in:
Konstantinos Karmas 2021-07-06 14:10:19 +02:00
parent 5ae4ad5429
commit b850d8c18e

View file

@ -226,12 +226,12 @@ Item
{ {
Cura.ExtruderIcon Cura.ExtruderIcon
{ {
anchors.horizontalCenter: parent.horizontalCenter anchors.centerIn: parent
materialColor: model.color materialColor: model.color
extruderEnabled: model.enabled extruderEnabled: model.enabled
iconVariant: "default" iconVariant: "default"
width: UM.Theme.getSize("medium_button_icon").width height: parent.height
height: UM.Theme.getSize("medium_button_icon").height width: height
} }
} }
onClicked: onClicked: