mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
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.
This commit is contained in:
parent
e31fe3eeb8
commit
1afd9467f2
1 changed files with 6 additions and 6 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue