From 10946b05a25f211b6853eda92f614c26a056310a Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Tue, 21 Oct 2014 13:05:08 +0200 Subject: Increase size of clickable area for the reload buttons Both for upcoming news and twitter data. Change-Id: If11daecce30f3b4bc36e9210afeed08f52d08b85 Reviewed-by: Caroline Chao --- qml/components/HomeScreen.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qml/components/HomeScreen.qml b/qml/components/HomeScreen.qml index 2c39489..ef3debe 100644 --- a/qml/components/HomeScreen.qml +++ b/qml/components/HomeScreen.qml @@ -160,7 +160,9 @@ Rectangle { sourceSize.height: Theme.sizes.reloadButtonSize sourceSize.width: Theme.sizes.reloadButtonSize MouseArea { - anchors.fill: parent + anchors.centerIn: parent + width: Theme.sizes.homeTitleHeight + height: Theme.sizes.homeTitleHeight onClicked: { rotationUpcoming.running = true homeScreenListView.reloadUpcoming() @@ -335,7 +337,9 @@ Rectangle { } } MouseArea { - anchors.fill: reloadNews + anchors.centerIn: reloadNews + width: Theme.sizes.homeTitleHeight + height: Theme.sizes.homeTitleHeight onClicked: { rotationNews.running = true tweetModel.reload() -- cgit v1.2.3