mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
Browser: Rename "Element" Inspector tab to "Box Model"
This tab shows the box model metrics, so let's call it "Box Model" :^)
This commit is contained in:
parent
1afd9467f2
commit
e5e621a63f
1 changed files with 4 additions and 4 deletions
|
@ -107,10 +107,10 @@ InspectorWidget::InspectorWidget()
|
|||
custom_properties_table_container.layout()->set_margins({ 4, 4, 4, 4 });
|
||||
m_custom_properties_table_view = custom_properties_table_container.add<GUI::TableView>();
|
||||
|
||||
auto& element_size = bottom_tab_widget.add_tab<GUI::Widget>("Element");
|
||||
element_size.set_layout<GUI::VerticalBoxLayout>();
|
||||
element_size.layout()->set_margins({ 4, 4, 4, 4 });
|
||||
m_element_size_view = element_size.add<ElementSizePreviewWidget>();
|
||||
auto& box_model_widget = bottom_tab_widget.add_tab<GUI::Widget>("Box Model");
|
||||
box_model_widget.set_layout<GUI::VerticalBoxLayout>();
|
||||
box_model_widget.layout()->set_margins({ 4, 4, 4, 4 });
|
||||
m_element_size_view = box_model_widget.add<ElementSizePreviewWidget>();
|
||||
m_element_size_view->set_should_hide_unnecessary_scrollbars(true);
|
||||
|
||||
m_dom_tree_view->set_focus(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue