Added missing elides

CL-896
This commit is contained in:
Jaime van Kessel 2018-08-29 11:00:24 +02:00
parent 1749a6f9d5
commit 60353bcd67
2 changed files with 10 additions and 0 deletions

View file

@ -264,6 +264,8 @@ Component
id: printJobName
text: modelData.activePrintJob != null ? modelData.activePrintJob.name : ""
font: UM.Theme.getFont("default_bold")
width: parent.width
elide: Text.ElideRight
}
Label
{
@ -272,11 +274,15 @@ Component
text: modelData.activePrintJob != null ? modelData.activePrintJob.owner : ""
font: UM.Theme.getFont("default")
opacity: 0.6
width: parent.width
elide: Text.ElideRight
}
function switchPopupState()
{
popup.visible ? popup.close() : popup.open()
}
Controls2.Button
{
id: contextButton

View file

@ -63,6 +63,8 @@ Item
id: printJobName
text: printJob.name
font: UM.Theme.getFont("default_bold")
width: parent.width
elide: Text.ElideRight
}
Label
@ -72,6 +74,8 @@ Item
text: printJob.owner
font: UM.Theme.getFont("default")
opacity: 0.6
width: parent.width
elide: Text.ElideRight
}
Image