Remove unneeded width from labels

CURA-8496
This commit is contained in:
Jaime van Kessel 2021-08-23 10:56:43 +02:00
parent 0bcea3f4cd
commit b887398da6

View file

@ -84,8 +84,6 @@ Cura.ExpandablePopup
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
Layout.preferredWidth: parent.width
width: parent.width
visible: !truncated
}
@ -99,8 +97,6 @@ Cura.ExpandablePopup
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
Layout.preferredWidth: parent.width
width: parent.width
visible: !materialBrandColorTypeLabel.visible && !truncated
}
@ -114,7 +110,6 @@ Cura.ExpandablePopup
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
Layout.preferredWidth: parent.width
width: parent.width
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
}
// Label that shows the name of the variant
@ -130,7 +125,6 @@ Cura.ExpandablePopup
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
Layout.preferredWidth: parent.width
width: parent.width
}
}
}