mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	Applications: Add fullscreen option to Utilities
This commit is contained in:
		
							parent
							
								
									8886324cbf
								
							
						
					
					
						commit
						7fa0cf194f
					
				
					 6 changed files with 30 additions and 0 deletions
				
			
		|  | @ -689,6 +689,11 @@ ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window) | |||
|     syntax_actions.add_action(*m_sql_highlight); | ||||
|     syntax_menu->add_action(*m_sql_highlight); | ||||
| 
 | ||||
|     view_menu->add_separator(); | ||||
|     view_menu->add_action(GUI::CommonActions::make_fullscreen_action([&](auto&) { | ||||
|         window.set_fullscreen(!window.is_fullscreen()); | ||||
|     })); | ||||
| 
 | ||||
|     auto help_menu = window.add_menu("&Help"_string); | ||||
|     help_menu->add_action(GUI::CommonActions::make_command_palette_action(&window)); | ||||
|     help_menu->add_action(GUI::CommonActions::make_help_action([](auto&) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugh Davenport
						Hugh Davenport