mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +00:00
Move some more classes to the new coding style.
This commit is contained in:
parent
a2ec09bc20
commit
7750e6952b
20 changed files with 113 additions and 114 deletions
|
@ -14,7 +14,7 @@ ListBox::~ListBox()
|
|||
|
||||
Rect ListBox::item_rect(int index) const
|
||||
{
|
||||
int item_height = font().glyphHeight() + 2;
|
||||
int item_height = font().glyph_height() + 2;
|
||||
return Rect { 2, 2 + (index * item_height), width() - 4, item_height };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue