Elide setting name if it's too long

This keeps the text readable.

Fixes #7926.
This commit is contained in:
Ghostkeeper 2020-06-15 12:24:39 +02:00
parent c7929fa053
commit 09298eac93
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -80,6 +80,8 @@ UM.Dialog
property var extruder_name: userChangesModel.getItem(styleData.row).extruder
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.right: parent.right
elide: Text.ElideRight
font: UM.Theme.getFont("system")
text:
{