Commit 5b544f58 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

MonthView: fix day number overflowing from the cell header

Differential Revision: https://phabricator.kde.org/D6321
parent 5ad40e25
......@@ -290,7 +290,7 @@ void MonthGraphicsView::drawBackground(QPainter *p, const QRectF &rect)
}
font = mMonthView->preferences()->monthViewFont();
font.setPointSize(MonthCell::topMargin() - 4);
font.setPixelSize(MonthCell::topMargin() - 4);
p->setFont(font);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment