calendarui/views/src/calenthicklinesdrawer.cpp
changeset 57 bb2d3e476f29
parent 51 0b38fc5b94c6
child 63 a3cb48f6c889
--- a/calendarui/views/src/calenthicklinesdrawer.cpp	Mon Jul 26 13:54:38 2010 +0530
+++ b/calendarui/views/src/calenthicklinesdrawer.cpp	Mon Aug 09 18:30:52 2010 +0530
@@ -99,6 +99,8 @@
 		// Calculate the seperation to be added so that line coincides with 
 		// top border of the grid
 		qreal seperation = CALENDAYNAMEANDGRIDSEPERATOR * unitValue;
+		// Adjust the seperation with the thickness of the line
+		seperation = seperation - widthInPixels;
 		// Get the start point and end point to draw the line
 		QPointF startPoint(controlRect.bottomLeft().x(), controlRect.bottomLeft().y() + seperation);
 		QPointF endPoint(controlRect.bottomRight().x(), controlRect.bottomRight().y() + seperation);