summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2014-06-23 16:07:31 +0200
committerCaroline Chao <caroline.chao@digia.com>2014-06-23 20:06:27 +0200
commitc006282d2e9b65a2bb4182dc1912beb8762831a2 (patch)
treefde3f7db69980ebf73a6acdb20ed5cfd4a35837f
parentf26a12d5c6af9e98f398f4414f09e19b52464f63 (diff)
Fix incorrect row height in LongTermPage
Each LongTermDay item and its associated rectangle drawn under it should have the same height. Change-Id: If0b5b5a8ac57516666b1af12be0c6aa6c0881575 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
-rw-r--r--qml/pages/LongTermPage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/pages/LongTermPage.qml b/qml/pages/LongTermPage.qml
index d802df4..afd6339 100644
--- a/qml/pages/LongTermPage.qml
+++ b/qml/pages/LongTermPage.qml
@@ -72,8 +72,8 @@ BasicPage {
Rectangle {
color: mouse.pressed ? ApplicationInfo.colors.smokeGray : ApplicationInfo.colors.white
width: scrollview.width
- height: item.rowHeight + 1
- y: (item.rowHeight + 1) * index
+ height: item.rowHeight
+ y: item.rowHeight * index
MouseArea {
id: mouse
anchors.fill: parent