summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-02-25 11:58:14 -0500
committerAndreas Kling <kling@serenityos.org>2022-02-25 19:38:23 +0100
commitf457e438852f15d26f1f93b6379d1c9eea2546c0 (patch)
treec5edf7c9bf0b40a30cdc891e8148308288e04282 /Userland
parente1a72c6df8009dd702b71bce8842a24b63de2b82 (diff)
downloadserenity-f457e438852f15d26f1f93b6379d1c9eea2546c0.zip
Assistant+CommandPalette: Use FrameShape::Window for main widgets
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/Assistant/main.cpp2
-rw-r--r--Userland/Libraries/LibGUI/CommandPalette.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Assistant/main.cpp b/Userland/Applications/Assistant/main.cpp
index 2d304830eb..fe59a0587c 100644
--- a/Userland/Applications/Assistant/main.cpp
+++ b/Userland/Applications/Assistant/main.cpp
@@ -216,7 +216,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto& container = window->set_main_widget<GUI::Frame>();
container.set_fill_with_background_color(true);
- container.set_frame_shadow(Gfx::FrameShadow::Raised);
+ container.set_frame_shape(Gfx::FrameShape::Window);
auto& layout = container.set_layout<GUI::VerticalBoxLayout>();
layout.set_margins({ 8, 8, 0 });
diff --git a/Userland/Libraries/LibGUI/CommandPalette.cpp b/Userland/Libraries/LibGUI/CommandPalette.cpp
index 2a5bea2caf..78ac413071 100644
--- a/Userland/Libraries/LibGUI/CommandPalette.cpp
+++ b/Userland/Libraries/LibGUI/CommandPalette.cpp
@@ -175,7 +175,7 @@ CommandPalette::CommandPalette(GUI::Window& parent_window, ScreenPosition screen
collect_actions(parent_window);
auto& main_widget = set_main_widget<GUI::Frame>();
- main_widget.set_frame_shadow(Gfx::FrameShadow::Raised);
+ main_widget.set_frame_shape(Gfx::FrameShape::Window);
main_widget.set_fill_with_background_color(true);
auto& layout = main_widget.set_layout<GUI::VerticalBoxLayout>();