mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Userland: Set Button text using the new String class
This commit is contained in:
		
							parent
							
								
									b5cb9a9ebb
								
							
						
					
					
						commit
						e39adc4772
					
				
					 49 changed files with 134 additions and 127 deletions
				
			
		|  | @ -304,9 +304,9 @@ GUI::Widget* MoveTool::get_properties_widget() | |||
| 
 | ||||
|         auto& mode_radio_container = selection_mode_container.add<GUI::Widget>(); | ||||
|         mode_radio_container.set_layout<GUI::VerticalBoxLayout>(); | ||||
|         m_selection_mode_foreground = mode_radio_container.add<GUI::RadioButton>("Foreground"); | ||||
|         m_selection_mode_foreground = mode_radio_container.add<GUI::RadioButton>(String::from_utf8("Foreground"sv).release_value_but_fixme_should_propagate_errors()); | ||||
| 
 | ||||
|         m_selection_mode_active = mode_radio_container.add<GUI::RadioButton>("Active Layer"); | ||||
|         m_selection_mode_active = mode_radio_container.add<GUI::RadioButton>(String::from_utf8("Active Layer"sv).release_value_but_fixme_should_propagate_errors()); | ||||
| 
 | ||||
|         m_selection_mode_foreground->on_checked = [&](bool) { | ||||
|             m_layer_selection_mode = LayerSelectionMode::ForegroundLayer; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Karol Kosek
						Karol Kosek