mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	Base+Userland: Add menu item icons
Base+Userland: Add menu item icons This adds missing icons to Presenter Presentation menu. This adds missing icon to Image Viewer View menu. This adds a scale icon for the Image Viewer and Font Editor. This moves the Fit Image to View icon to the 16x16 folder as it's now used by Image Viewer and not only Pixel Paint. This improves the fullscreen and play icons so that they fit together better.
This commit is contained in:
		
							parent
							
								
									50c0d0a3b0
								
							
						
					
					
						commit
						4321a7def1
					
				
					 8 changed files with 8 additions and 6 deletions
				
			
		|  | @ -215,7 +215,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) | |||
|         window); | ||||
| 
 | ||||
|     auto fit_image_to_view_action = GUI::Action::create( | ||||
|         "Fit Image To &View", [&](auto&) { | ||||
|         "Fit Image To &View", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/fit-image-to-view.png"sv)), [&](auto&) { | ||||
|             widget->fit_content_to_view(); | ||||
|         }); | ||||
| 
 | ||||
|  | @ -314,6 +314,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) | |||
|     TRY(view_menu->try_add_separator()); | ||||
| 
 | ||||
|     auto scaling_mode_menu = TRY(view_menu->try_add_submenu("&Scaling Mode")); | ||||
|     scaling_mode_menu->set_icon(TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/scale.png"sv))); | ||||
| 
 | ||||
|     auto scaling_mode_group = make<GUI::ActionGroup>(); | ||||
|     scaling_mode_group->set_exclusive(true); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brandon Jordan
						Brandon Jordan