Skip to content

Commit f457e43

Browse files
thankyouverycoolawesomekling
authored andcommitted
Assistant+CommandPalette: Use FrameShape::Window for main widgets
1 parent e1a72c6 commit f457e43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Userland/Applications/Assistant/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
216216

217217
auto& container = window->set_main_widget<GUI::Frame>();
218218
container.set_fill_with_background_color(true);
219-
container.set_frame_shadow(Gfx::FrameShadow::Raised);
219+
container.set_frame_shape(Gfx::FrameShape::Window);
220220
auto& layout = container.set_layout<GUI::VerticalBoxLayout>();
221221
layout.set_margins({ 8, 8, 0 });
222222

Userland/Libraries/LibGUI/CommandPalette.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CommandPalette::CommandPalette(GUI::Window& parent_window, ScreenPosition screen
175175
collect_actions(parent_window);
176176

177177
auto& main_widget = set_main_widget<GUI::Frame>();
178-
main_widget.set_frame_shadow(Gfx::FrameShadow::Raised);
178+
main_widget.set_frame_shape(Gfx::FrameShape::Window);
179179
main_widget.set_fill_with_background_color(true);
180180

181181
auto& layout = main_widget.set_layout<GUI::VerticalBoxLayout>();

0 commit comments

Comments
 (0)