mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibGUI: Use set_layout<LayoutType>() in lots of client code
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
ProcessFileDescriptorMapWidget::ProcessFileDescriptorMapWidget()
|
||||
{
|
||||
set_layout(make<GUI::VerticalBoxLayout>());
|
||||
set_layout<GUI::VerticalBoxLayout>();
|
||||
layout()->set_margins({ 4, 4, 4, 4 });
|
||||
m_table_view = add<GUI::TableView>();
|
||||
m_table_view->set_size_columns_to_fit_content(true);
|
||||
|
||||
Reference in New Issue
Block a user