From 6de4ed1ae2421cf0df84e8a62e227e31d2fd4cd6 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 27 Nov 2018 17:15:34 +0100 Subject: [PATCH] added gameProgress Label --- CalculatorMainPage.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CalculatorMainPage.qml b/CalculatorMainPage.qml index a36d50a..0d1bbd4 100644 --- a/CalculatorMainPage.qml +++ b/CalculatorMainPage.qml @@ -10,10 +10,21 @@ Page { Label { id: num anchors.centerIn: parent - font.pixelSize: calculator.height * 0.6 + font.pixelSize: parent.height * 0.6 text: calculator.nextNum } + Label { + id: gameProcess + text: calculator.actualNumCount + " of " + calculator.numCount + anchors { + right: parent.right + rightMargin: parent.width * 0.025 + bottom: parent.bottom + bottomMargin: parent.height * 0.05 + } + } + ProgressBar { id: prog