mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Truncate/elide/ellipsize the material name in Preferences
if it doesn't fit it's parent CURA-6862
This commit is contained in:
parent
7b2037fd47
commit
c8d65e86f1
1 changed files with 2 additions and 0 deletions
|
@ -64,8 +64,10 @@ Item
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
width: parent.width
|
||||||
text: materialProperties.name
|
text: materialProperties.name
|
||||||
font: UM.Theme.getFont("large_bold")
|
font: UM.Theme.getFont("large_bold")
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue