diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-16 11:22:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:44:09 +0200 |
commit | f6d7204689a009ce804b56e9e921985d2e61fc19 (patch) | |
tree | 375b6cfdd97ff97ad04e22ee605bef421c6191a5 /Libraries/LibGUI | |
parent | 4c23e75d2f09ed1baedc696a23196ff999c60a71 (diff) | |
download | serenity-f6d7204689a009ce804b56e9e921985d2e61fc19.zip |
LibGUI: Enable switching FilePicker into columns view mode :^)
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/FilePicker.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp index e144f19fd3..b2bbf4399d 100644 --- a/Libraries/LibGUI/FilePicker.cpp +++ b/Libraries/LibGUI/FilePicker.cpp @@ -111,11 +111,7 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, Options options, const auto& toolbar = upper_container.add<ToolBar>(); toolbar.set_size_policy(SizePolicy::Fixed, SizePolicy::Fill); -#ifdef MULTIVIEW_WITH_COLUMNSVIEW toolbar.set_preferred_size(165, 0); -#else - toolbar.set_preferred_size(140, 0); -#endif toolbar.set_has_frame(false); m_location_textbox = upper_container.add<TextBox>(); @@ -175,11 +171,7 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, Options options, const toolbar.add_action(m_view->view_as_icons_action()); toolbar.add_action(m_view->view_as_table_action()); - -#ifdef MULTIVIEW_WITH_COLUMNSVIEW - m_view->view_as_columns_action().set_enabled(false); toolbar.add_action(m_view->view_as_columns_action()); -#endif auto& lower_container = vertical_container.add<Widget>(); lower_container.set_layout<VerticalBoxLayout>(); |