From 56126d7a4526e2c39ccf0c8ea0488d209ee04dd8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 6 Jul 2020 22:02:38 +0200 Subject: [PATCH] LibWeb: Don't show unnecessary scrollbars in WebContentView This behaves a little weird right now, and will probably require more coordination between the widget and the WebContent process. --- Libraries/LibWeb/WebContentView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibWeb/WebContentView.cpp b/Libraries/LibWeb/WebContentView.cpp index 739372f08a..8a8c2caf17 100644 --- a/Libraries/LibWeb/WebContentView.cpp +++ b/Libraries/LibWeb/WebContentView.cpp @@ -33,6 +33,7 @@ WebContentView::WebContentView() { + set_should_hide_unnecessary_scrollbars(true); m_client = WebContentClient::construct(*this); client().post_message(Messages::WebContentServer::UpdateSystemTheme(Gfx::current_system_theme_buffer_id())); }