mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Yet another pass of style fixes.
This commit is contained in:
parent
89040cdc99
commit
ec1c487dcd
43 changed files with 183 additions and 185 deletions
|
@ -23,7 +23,7 @@ void Label::paintEvent(PaintEvent&)
|
|||
{
|
||||
Painter painter(*this);
|
||||
painter.fillRect({ 0, 0, width(), height() }, backgroundColor());
|
||||
if (!text().isEmpty())
|
||||
if (!text().is_empty())
|
||||
painter.drawText({ 4, 4, width(), height() }, text(), Painter::TextAlignment::TopLeft, foregroundColor());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue