1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

LibGUI+FileManager: Clarify Widget margins name

Even though they are called content_margins,
they are actually only ever used to determine where
a Widget is supposed to be grabbable.
So all methods and members are renamed accordingly.
This commit is contained in:
FrHun 2021-09-14 21:08:57 +02:00 committed by Andreas Kling
parent a261e4d9d5
commit 8249ea792e
7 changed files with 19 additions and 19 deletions

View file

@ -42,7 +42,7 @@ void Frame::set_frame_thickness(int thickness)
if (m_thickness == thickness)
return;
m_thickness = thickness;
set_content_margins(thickness);
set_grabbable_margins(thickness);
}
void Frame::paint_event(PaintEvent& event)