Added progress percentage label

CURA-1036
This commit is contained in:
Jaime van Kessel 2016-06-17 11:02:22 +02:00
parent ec34d92500
commit 168246d594

View File

@ -53,6 +53,18 @@ Rectangle
text: statusText;
}
Label
{
id: percentageLabel
anchors.top: parent.top
anchors.right: progressBar.right
//anchors.rightMargin: UM.Theme.getSize("default_margin").width
color: "green"
font: UM.Theme.getFont("large")
text: Math.round(progress * 100) + "%" ;
}
Rectangle
{
id: progressBar