summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-15 19:44:53 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-15 19:48:19 +0100
commit1afd9467f2364a66c5238f915356ff0ee356221d (patch)
tree6991bb6be5c00a7092a40e474fb0f3cec85e6c92 /Userland
parente31fe3eeb82cd08ad67e8135814f44947d33aa4e (diff)
downloadserenity-1afd9467f2364a66c5238f915356ff0ee356221d.zip
Browser: Use accurate labels for the Inspector's style property tabs
"Styles" => "Computed" "Computed" => "Resolved" It'd be nice to show specified values as well, but we don't have great infrastructure to do that yet.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/Browser/InspectorWidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Applications/Browser/InspectorWidget.cpp b/Userland/Applications/Browser/InspectorWidget.cpp
index bcd1abc7b0..bb7937fb37 100644
--- a/Userland/Applications/Browser/InspectorWidget.cpp
+++ b/Userland/Applications/Browser/InspectorWidget.cpp
@@ -92,15 +92,15 @@ InspectorWidget::InspectorWidget()
auto& bottom_tab_widget = splitter.add<GUI::TabWidget>();
- auto& style_table_container = bottom_tab_widget.add_tab<GUI::Widget>("Styles");
- style_table_container.set_layout<GUI::VerticalBoxLayout>();
- style_table_container.layout()->set_margins({ 4, 4, 4, 4 });
- m_style_table_view = style_table_container.add<GUI::TableView>();
-
auto& computed_style_table_container = bottom_tab_widget.add_tab<GUI::Widget>("Computed");
computed_style_table_container.set_layout<GUI::VerticalBoxLayout>();
computed_style_table_container.layout()->set_margins({ 4, 4, 4, 4 });
- m_computed_style_table_view = computed_style_table_container.add<GUI::TableView>();
+ m_style_table_view = computed_style_table_container.add<GUI::TableView>();
+
+ auto& resolved_style_table_container = bottom_tab_widget.add_tab<GUI::Widget>("Resolved");
+ resolved_style_table_container.set_layout<GUI::VerticalBoxLayout>();
+ resolved_style_table_container.layout()->set_margins({ 4, 4, 4, 4 });
+ m_computed_style_table_view = resolved_style_table_container.add<GUI::TableView>();
auto& custom_properties_table_container = bottom_tab_widget.add_tab<GUI::Widget>("Variables");
custom_properties_table_container.set_layout<GUI::VerticalBoxLayout>();