mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibGUI: Use set_layout<LayoutType>() in lots of client code
This commit is contained in:
parent
03e0ddce52
commit
4697195645
Notes:
sideshowbarker
2024-07-19 08:54:51 +09:00
Author: https://github.com/awesomekling
Commit: 4697195645
45 changed files with 109 additions and 109 deletions
|
@ -38,7 +38,7 @@ StatusBar::StatusBar(int label_count)
|
|||
{
|
||||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
set_preferred_size(0, 20);
|
||||
set_layout(make<HorizontalBoxLayout>());
|
||||
set_layout<HorizontalBoxLayout>();
|
||||
layout()->set_margins({ 2, 2, 2, 2 });
|
||||
layout()->set_spacing(2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue