summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2014-10-21 13:05:08 +0200
committerCaroline Chao <caroline.chao@theqtcompany.com>2014-10-22 15:22:57 +0200
commit10946b05a25f211b6853eda92f614c26a056310a (patch)
tree44fde3485b0295b77ebfc9938cd497cdcf0e1449
parent6d2721d2fa569e33d4cc97d7ea7edbd825be92ee (diff)
Increase size of clickable area for the reload buttons
Both for upcoming news and twitter data. Change-Id: If11daecce30f3b4bc36e9210afeed08f52d08b85 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
-rw-r--r--qml/components/HomeScreen.qml8
1 files 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()