1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibGUI+Settings: Remove superfluous margin sets

The margin set is completely superfluous, because it only ever affects
grabbing (in splitters), which is never used for these classes.
This commit is contained in:
FrHun 2021-09-14 20:45:32 +02:00 committed by Andreas Kling
parent a08685b9a4
commit a261e4d9d5
3 changed files with 0 additions and 3 deletions

View file

@ -149,7 +149,6 @@ int main(int argc, char** argv)
bottom_widget.set_layout<GUI::HorizontalBoxLayout>();
bottom_widget.layout()->add_spacer();
bottom_widget.set_fixed_height(30);
bottom_widget.set_content_margins({ 4, 0 });
auto& ok_button = bottom_widget.add<GUI::Button>();
ok_button.set_text("OK");