Display profile name correctly in dropdown

CURA-9040
This commit is contained in:
Jaime van Kessel 2022-03-14 11:38:31 +01:00
parent cfeb5101e7
commit 790c2c23c1

View File

@ -84,6 +84,7 @@ Item
Layout.maximumWidth: Math.floor(parent.width * 0.7) // Always leave >= 30% for the rest of the row. Layout.maximumWidth: Math.floor(parent.width * 0.7) // Always leave >= 30% for the rest of the row.
height: contentHeight height: contentHeight
elide: Text.ElideRight elide: Text.ElideRight
wrapMode: Text.NoWrap
} }
UM.Label UM.Label
@ -96,7 +97,7 @@ Item
height: contentHeight height: contentHeight
elide: Text.ElideRight elide: Text.ElideRight
wrapMode: Text.NoWrap
function activeQualityDetailText() function activeQualityDetailText()
{ {
var resultMap = Cura.MachineManager.activeQualityDisplayNameMap var resultMap = Cura.MachineManager.activeQualityDisplayNameMap