* 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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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