diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml index 16ea5687e0..335de0b323 100644 --- a/resources/qml/MonitorButton.qml +++ b/resources/qml/MonitorButton.qml @@ -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