diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-23 11:09:20 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-23 11:10:52 +0100 |
commit | bfd86c46316c0a7b0fca2b6966ec57884124caab (patch) | |
tree | 43e98365bf20dea6d7f827806ecfd9a797940939 /Applications/FileManager | |
parent | 3d20da9ee451460b6e233f5efdf5a13e11525f97 (diff) | |
download | serenity-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/FileManager')
-rw-r--r-- | Applications/FileManager/PropertiesDialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Applications/FileManager/PropertiesDialog.cpp b/Applications/FileManager/PropertiesDialog.cpp index 082a819422..6c7a867cf3 100644 --- a/Applications/FileManager/PropertiesDialog.cpp +++ b/Applications/FileManager/PropertiesDialog.cpp @@ -276,9 +276,6 @@ void PropertiesDialog::make_divider(NonnullRefPtr<GUI::Widget>& parent) auto divider = parent->add<GUI::Frame>(); divider->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); divider->set_preferred_size({ 0, 2 }); - divider->set_frame_shape(Gfx::FrameShape::HorizontalLine); - divider->set_frame_shadow(Gfx::FrameShadow::Sunken); - divider->set_frame_thickness(2); parent->layout()->add_spacer(); } |