diff --git a/qml/Main.qml b/qml/Main.qml index 13f5a69..c8dc9a6 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -140,11 +140,23 @@ ApplicationWindow { font.pixelSize: 14 } - ProgressBar { + Item { Layout.fillWidth: true - from: 0 - to: 100 - value: factorizationController.progress + Layout.preferredHeight: 25 + + ProgressBar { + anchors.fill: parent + to: 100 + value: factorizationController.progress + } + + Text { + text: factorizationController.progress.toFixed(0) + "%" + anchors.centerIn: parent + font.pixelSize: 16 + color: "black" + font.bold: true + } } } }