Truncate/elide/ellipsize the material name in Preferences

if it doesn't fit it's parent

CURA-6862
This commit is contained in:
Nino van Hooff 2019-10-10 15:36:14 +02:00
parent 7b2037fd47
commit c8d65e86f1

View File

@ -64,8 +64,10 @@ Item
height: childrenRect.height
Label {
width: parent.width
text: materialProperties.name
font: UM.Theme.getFont("large_bold")
elide: Text.ElideRight
}
}