mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-26 11:24:53 -08:00
* 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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user