diff --git a/src/timelineview.cpp b/src/timelineview.cpp index c1f27dd..d157ebf 100644 --- a/src/timelineview.cpp +++ b/src/timelineview.cpp @@ -288,7 +288,7 @@ void TimelineView::populate() void TimelineView::updateImplicitWidth() { - setImplicitWidth(m_dayWidth * m_fromDate.daysTo(m_toDate)); + setImplicitWidth(m_dayWidth * (m_fromDate.daysTo(m_toDate) + 1)); } #include "moc_timelineview.cpp"