Fix binding loop in objectItemButton

CURA-8684
This commit is contained in:
Jaime van Kessel 2022-01-31 17:32:10 +01:00
parent cef3b5db16
commit ecba5b409c

View file

@ -82,7 +82,7 @@ Button
right: parent.right right: parent.right
rightMargin: 0 rightMargin: 0
} }
width: contentItem.width width: meshTypeIcon.width + perObjectSettingsCountLabel.width + UM.Theme.getSize("narrow_margin").width
height: parent.height height: parent.height
padding: 0 padding: 0
leftPadding: UM.Theme.getSize("thin_margin").width leftPadding: UM.Theme.getSize("thin_margin").width
@ -131,7 +131,7 @@ Button
contentItem: Item contentItem: Item
{ {
height: parent.height height: parent.height
width: meshTypeIcon.width + perObjectSettingsCountLabel.width + UM.Theme.getSize("narrow_margin").width width: perObjectSettingsInfo.width
Cura.NotificationIcon Cura.NotificationIcon
{ {