mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:52:44 +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
				
			
		|  | @ -93,7 +93,7 @@ AddEventDialog::AddEventDialog(Core::DateTime date_time, Window* parent_window) | |||
|     button_container.set_fixed_height(20); | ||||
|     button_container.set_layout<GUI::HorizontalBoxLayout>(); | ||||
|     button_container.layout()->add_spacer(); | ||||
|     auto& ok_button = button_container.add<GUI::Button>("OK"); | ||||
|     auto& ok_button = button_container.add<GUI::Button>(String::from_utf8_short_string("OK"sv)); | ||||
|     ok_button.set_fixed_size(80, 20); | ||||
|     ok_button.on_click = [this](auto) { | ||||
|         dbgln("TODO: Add event icon on specific tile"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Karol Kosek
						Karol Kosek