diff -r 2c54b51f39c4 -r bb2d3e476f29 calendarui/views/src/calenthicklinesdrawer.cpp --- 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);