mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Added progress percentage label
CURA-1036
This commit is contained in:
parent
ec34d92500
commit
168246d594
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue