summaryrefslogtreecommitdiff
path: root/Applications/Browser
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-21 19:52:04 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-21 19:55:44 +0200
commit2adb0a07e53695e1f636384a3323aba828d48e52 (patch)
treed1affc27e33ec70daaa4d317d39ee2c6c781415b /Applications/Browser
parentc666c251c89f9d63a4855494cc2cf0f92e524db0 (diff)
downloadserenity-2adb0a07e53695e1f636384a3323aba828d48e52.zip
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
Diffstat (limited to 'Applications/Browser')
-rw-r--r--Applications/Browser/InspectorWidget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Applications/Browser/InspectorWidget.cpp b/Applications/Browser/InspectorWidget.cpp
index 8b86f2db08..ef9f019777 100644
--- a/Applications/Browser/InspectorWidget.cpp
+++ b/Applications/Browser/InspectorWidget.cpp
@@ -60,10 +60,7 @@ InspectorWidget::InspectorWidget()
auto& tab_widget = splitter.add<GUI::TabWidget>();
m_style_table_view = tab_widget.add_tab<GUI::TableView>("Styles");
- m_style_table_view->set_size_columns_to_fit_content(true);
-
m_computed_style_table_view = tab_widget.add_tab<GUI::TableView>("Computed");
- m_computed_style_table_view->set_size_columns_to_fit_content(true);
}
InspectorWidget::~InspectorWidget()