From e39258c608b8a7792e41c46777bf307914b03f91 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Sun, 5 Nov 2017 10:43:59 +0100 Subject: Use the default IconButton placing defined by qml-asteroid --- main.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/main.qml b/main.qml index 111fbd6..68a568d 100644 --- a/main.qml +++ b/main.qml @@ -115,15 +115,7 @@ Application { id: resetButton 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 } } -- cgit v1.2.3-70-g09d2