···435435436436 auto properties_list = TRY(GUI::Widget::try_create());
437437 scrollable_container->set_widget(properties_list);
438438- (void)TRY(properties_list->try_set_layout<GUI::VerticalBoxLayout>());
439439- properties_list->layout()->set_spacing(12);
440440- properties_list->layout()->set_margins({ 8 });
438438+ (void)TRY(properties_list->try_set_layout<GUI::VerticalBoxLayout>(GUI::Margins { 8 }, 12));
441439442440 for (auto const& group : property_tab.property_groups) {
443441 NonnullRefPtr<GUI::GroupBox> group_box = TRY(properties_list->try_add<GUI::GroupBox>(group.title));
444444- (void)TRY(group_box->try_set_layout<GUI::VerticalBoxLayout>());
445445- group_box->layout()->set_spacing(12);
446442 // 1px less on the left makes the text line up with the group title.
447447- group_box->layout()->set_margins({ 8, 8, 8, 7 });
443443+ (void)TRY(group_box->try_set_layout<GUI::VerticalBoxLayout>(GUI::Margins { 8, 8, 8, 7 }, 12));
448444 group_box->set_preferred_height(GUI::SpecialDimension::Fit);
449445450446 for (auto const& property : group.properties) {