mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:59:00 +08:00
Re-added elide properties that seem to have gone lost in re-work
CL-521
This commit is contained in:
parent
8913a64fdc
commit
a2dabc6442
@ -93,25 +93,38 @@ Rectangle
|
|||||||
id: jobNameLabel
|
id: jobNameLabel
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
text: printJob != null ? printJob.name : ""
|
text: printJob != null ? printJob.name : ""
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
elide: Text.ElideRight
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: jobOwnerLabel
|
id: jobOwnerLabel
|
||||||
anchors.top: jobNameLabel.bottom
|
anchors.top: jobNameLabel.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
text: printJob != null ? printJob.owner : ""
|
text: printJob != null ? printJob.owner : ""
|
||||||
opacity: 0.50
|
opacity: 0.50
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: totalTimeLabel
|
id: totalTimeLabel
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
text: printJob != null ? getPrettyTime(printJob.time_total) : ""
|
text: printJob != null ? getPrettyTime(printJob.time_total) : ""
|
||||||
opacity: 0.65
|
opacity: 0.65
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,6 +401,8 @@ Rectangle
|
|||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user