summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-01 02:10:30 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-01 02:12:39 +0100
commit39efb3df18bb9b986a8e52022721747ba8190fa4 (patch)
tree0d43e7dd1a28fbeab836474c414109cd8babbbf9
parent3eba01a02da5a2c79ccee5c72e2243450fe3e6b2 (diff)
downloadserenity-39efb3df18bb9b986a8e52022721747ba8190fa4.zip
LibGUI: Hide unnecessary scrollbars in MultiView
This removes pointless scrollbars in FilePicker which looks nice.
-rw-r--r--Libraries/LibGUI/MultiView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/MultiView.cpp b/Libraries/LibGUI/MultiView.cpp
index 4cc646cd2b..2df586390f 100644
--- a/Libraries/LibGUI/MultiView.cpp
+++ b/Libraries/LibGUI/MultiView.cpp
@@ -44,6 +44,7 @@ MultiView::MultiView()
m_columns_view = add<ColumnsView>();
for_each_view_implementation([&](auto& view) {
+ view.set_should_hide_unnecessary_scrollbars(true);
view.on_activation = [this](auto& index) {
if (on_activation)
on_activation(index);