diff --git a/src/timelineview.cpp b/src/timelineview.cpp index d157ebf..a0f051a 100644 --- a/src/timelineview.cpp +++ b/src/timelineview.cpp @@ -9,7 +9,7 @@ struct TimelineView::Item , day(day) { item->setParentItem(&view); - item->setPosition(QPointF(day * view.dayWidth(), 0.0)); + item->setPosition(QPointF(day * view.dayWidth() + view.dayWidth() / 2, 0.0)); item->setSize(QSizeF(len * view.dayWidth(), view.height())); item->setVisible(true); }