summaryrefslogtreecommitdiff
path: root/Applications/Piano/RollWidget.cpp
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 /Applications/Piano/RollWidget.cpp
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 'Applications/Piano/RollWidget.cpp')
-rw-r--r--Applications/Piano/RollWidget.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Applications/Piano/RollWidget.cpp b/Applications/Piano/RollWidget.cpp
index 8efb6dd671..03b87413ac 100644
--- a/Applications/Piano/RollWidget.cpp
+++ b/Applications/Piano/RollWidget.cpp
@@ -36,10 +36,6 @@ constexpr int roll_height = note_count * note_height;
RollWidget::RollWidget(AudioEngine& audio_engine)
: m_audio_engine(audio_engine)
{
- set_frame_thickness(2);
- set_frame_shadow(Gfx::FrameShadow::Sunken);
- set_frame_shape(Gfx::FrameShape::Container);
-
set_should_hide_unnecessary_scrollbars(true);
set_content_size({ 0, roll_height });
vertical_scrollbar().set_value(roll_height / 2);