mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	Assistant+CommandPalette: Use FrameShape::Window for main widgets
This commit is contained in:
		
							parent
							
								
									e1a72c6df8
								
							
						
					
					
						commit
						f457e43885
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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 }); | ||||
| 
 | ||||
|  |  | |||
|  | @ -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>(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 thankyouverycool
						thankyouverycool