mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Added missing elides
CL-896
This commit is contained in:
parent
1749a6f9d5
commit
60353bcd67
2 changed files with 10 additions and 0 deletions
|
@ -264,6 +264,8 @@ Component
|
||||||
id: printJobName
|
id: printJobName
|
||||||
text: modelData.activePrintJob != null ? modelData.activePrintJob.name : ""
|
text: modelData.activePrintJob != null ? modelData.activePrintJob.name : ""
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
width: parent.width
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
@ -272,11 +274,15 @@ Component
|
||||||
text: modelData.activePrintJob != null ? modelData.activePrintJob.owner : ""
|
text: modelData.activePrintJob != null ? modelData.activePrintJob.owner : ""
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
|
width: parent.width
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
function switchPopupState()
|
function switchPopupState()
|
||||||
{
|
{
|
||||||
popup.visible ? popup.close() : popup.open()
|
popup.visible ? popup.close() : popup.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls2.Button
|
Controls2.Button
|
||||||
{
|
{
|
||||||
id: contextButton
|
id: contextButton
|
||||||
|
|
|
@ -63,6 +63,8 @@ Item
|
||||||
id: printJobName
|
id: printJobName
|
||||||
text: printJob.name
|
text: printJob.name
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
width: parent.width
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
@ -72,6 +74,8 @@ Item
|
||||||
text: printJob.owner
|
text: printJob.owner
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
|
width: parent.width
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
Image
|
Image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue