aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2017-11-08 21:22:53 +0100
committerFlorent Revest <revestflo@gmail.com>2017-11-08 21:22:53 +0100
commitb7dd6c0e03f96e0cc87aba9c38678a2c1b887fc8 (patch)
tree2405465ca2a2d0ea55d5932f635aa282a6a1c644
parente39258c608b8a7792e41c46777bf307914b03f91 (diff)
Use Labels instead of Text to factorize some code between all apps
-rw-r--r--main.qml3
1 files changed, 1 insertions, 2 deletions
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 {