diff options
author | Caroline Chao <caroline.chao@digia.com> | 2014-10-21 13:05:08 +0200 |
---|---|---|
committer | Caroline Chao <caroline.chao@theqtcompany.com> | 2014-10-22 15:22:57 +0200 |
commit | 10946b05a25f211b6853eda92f614c26a056310a (patch) | |
tree | 44fde3485b0295b77ebfc9938cd497cdcf0e1449 | |
parent | 6d2721d2fa569e33d4cc97d7ea7edbd825be92ee (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.qml | 8 |
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() |