* mess with the font rendering of the home screen until it works

* add more fonts

* increase font weight

* fix outline on the text
This commit is contained in:
ebbit1q
2026-01-25 22:05:53 +01:00
committed by GitHub
parent 303bd8b607
commit 0b4e7be596

View File

@@ -97,7 +97,7 @@ void HomeStyledButton::paintEvent(QPaintEvent *event)
QPainterPath path;
path.addText(center, font(), text());
painter.setPen(QPen(Qt::black, 2.0, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
painter.setBrush(Qt::white);
painter.drawPath(path);
QPen pen(Qt::black, 4.0, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin);
painter.strokePath(path, pen);
painter.fillPath(path, Qt::white);
}