diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-15 19:47:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-15 19:48:19 +0100 |
commit | e5e621a63f7bfb91df3f41cd48996a0365eaf969 (patch) | |
tree | 4263755d385711cb482f70b66c8bbf33aeb82d0b /Userland/Applications | |
parent | 1afd9467f2364a66c5238f915356ff0ee356221d (diff) | |
download | serenity-e5e621a63f7bfb91df3f41cd48996a0365eaf969.zip |
Browser: Rename "Element" Inspector tab to "Box Model"
This tab shows the box model metrics, so let's call it "Box Model" :^)
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/Browser/InspectorWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/Browser/InspectorWidget.cpp b/Userland/Applications/Browser/InspectorWidget.cpp index bb7937fb37..24daae993a 100644 --- a/Userland/Applications/Browser/InspectorWidget.cpp +++ b/Userland/Applications/Browser/InspectorWidget.cpp @@ -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); |