mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +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:
parent
a08685b9a4
commit
a261e4d9d5
3 changed files with 0 additions and 3 deletions
|
@ -62,7 +62,6 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window
|
|||
auto& label = right_container.add<Label>(text);
|
||||
label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
label.set_fixed_height(14);
|
||||
label.set_content_margins({ 0, 8, 0 });
|
||||
if (bold)
|
||||
label.set_font(Gfx::FontDatabase::default_font().bold_variant());
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue