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
{
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: