1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:17:44 +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

@ -35,7 +35,7 @@ protected:
private:
void override_cursor(bool do_override);
Gfx::IntRect rect_between_widgets(GUI::Widget const& first_widget, GUI::Widget const& second_widget, bool honor_content_margins) const;
Gfx::IntRect rect_between_widgets(GUI::Widget const& first_widget, GUI::Widget const& second_widget, bool honor_grabbable_margins) const;
Gfx::Orientation m_orientation;
bool m_resizing { false };