From f457e438852f15d26f1f93b6379d1c9eea2546c0 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:58:14 -0500 Subject: [PATCH] Assistant+CommandPalette: Use FrameShape::Window for main widgets --- Userland/Applications/Assistant/main.cpp | 2 +- Userland/Libraries/LibGUI/CommandPalette.cpp | 2 +- 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 serenity_main(Main::Arguments arguments) auto& container = window->set_main_widget(); 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(); 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(); - 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();