aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml15
1 files changed, 2 insertions, 13 deletions
diff --git a/main.qml b/main.qml
index d646c17..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 {
@@ -113,19 +112,9 @@ Application {
IconButton {
id: resetButton
- iconColor: "white"
- pressedIconColor: "lightgrey"
iconName: "ios-refresh"
visible: mainPage.state === "paused"
-
- hovered: false
-
- anchors {
- horizontalCenter: parent.horizontalCenter
- topMargin: Dims.iconButtonMargin
- top: parent.top
- }
-
+ edge: Qt.TopEdge
onClicked: elapsed.value = -1
}
}