mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:45:54 +08:00
Added missing elides
CL-896
This commit is contained in:
parent
1749a6f9d5
commit
60353bcd67
@ -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…
x
Reference in New Issue
Block a user