From b7dd6c0e03f96e0cc87aba9c38678a2c1b887fc8 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Wed, 8 Nov 2017 21:22:53 +0100 Subject: Use Labels instead of Text to factorize some code between all apps --- main.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.qml') diff --git a/main.qml b/main.qml index 68a568d..c1926e5 100644 --- a/main.qml +++ b/main.qml @@ -76,13 +76,12 @@ Application { State { name: "paused" } ] - Text { + Label { id: elapsedLabel textFormat: Text.RichText anchors.centerIn: parent text: toTimeString(elapsed.value) font.pixelSize: Dims.h(25) - color: "#FFFFFF" horizontalAlignment: Text.AlignHCenter SequentialAnimation { -- cgit v1.2.3-54-g00ecf