diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-21 19:52:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-21 19:55:44 +0200 |
commit | 2adb0a07e53695e1f636384a3323aba828d48e52 (patch) | |
tree | d1affc27e33ec70daaa4d317d39ee2c6c781415b /DevTools/HackStudio | |
parent | c666c251c89f9d63a4855494cc2cf0f92e524db0 (diff) | |
download | serenity-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 'DevTools/HackStudio')
-rw-r--r-- | DevTools/HackStudio/FindInFilesWidget.cpp | 1 | ||||
-rw-r--r-- | DevTools/HackStudio/Locator.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/DevTools/HackStudio/FindInFilesWidget.cpp b/DevTools/HackStudio/FindInFilesWidget.cpp index 966865eeb0..ecc70acc97 100644 --- a/DevTools/HackStudio/FindInFilesWidget.cpp +++ b/DevTools/HackStudio/FindInFilesWidget.cpp @@ -143,7 +143,6 @@ FindInFilesWidget::FindInFilesWidget() m_button->set_preferred_size(100, 0); m_result_view = add<GUI::TableView>(); - m_result_view->set_size_columns_to_fit_content(true); m_result_view->on_activation = [](auto& index) { auto& match = *(const Match*)index.internal_data(); diff --git a/DevTools/HackStudio/Locator.cpp b/DevTools/HackStudio/Locator.cpp index 1c9431b0c4..5f31c0af37 100644 --- a/DevTools/HackStudio/Locator.cpp +++ b/DevTools/HackStudio/Locator.cpp @@ -151,7 +151,6 @@ Locator::Locator() m_popup_window->set_rect(0, 0, 500, 200); m_suggestion_view = m_popup_window->set_main_widget<GUI::TableView>(); - m_suggestion_view->set_size_columns_to_fit_content(true); m_suggestion_view->set_headers_visible(false); m_suggestion_view->on_activation = [this](auto& index) { |