summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-23 11:09:20 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-23 11:10:52 +0100
commitbfd86c46316c0a7b0fca2b6966ec57884124caab (patch)
tree43e98365bf20dea6d7f827806ecfd9a797940939 /Libraries/LibHTML
parent3d20da9ee451460b6e233f5efdf5a13e11525f97 (diff)
downloadserenity-bfd86c46316c0a7b0fca2b6966ec57884124caab.zip
LibGUI: Make GUI::Frame have the 2px sunken container look by default
The overwhelming majority of GUI::Frame users set the same appearance, so let's just make it the default.
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r--Libraries/LibHTML/HtmlView.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Libraries/LibHTML/HtmlView.cpp b/Libraries/LibHTML/HtmlView.cpp
index c6412d3c3e..ea2178aab0 100644
--- a/Libraries/LibHTML/HtmlView.cpp
+++ b/Libraries/LibHTML/HtmlView.cpp
@@ -59,9 +59,6 @@ HtmlView::HtmlView()
update(adjusted_rect);
};
- set_frame_shape(Gfx::FrameShape::Container);
- set_frame_shadow(Gfx::FrameShadow::Sunken);
- set_frame_thickness(2);
set_should_hide_unnecessary_scrollbars(true);
set_background_role(ColorRole::Base);
}