mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
This commit is contained in:
		
							parent
							
								
									92f062696a
								
							
						
					
					
						commit
						05bb8e0c10
					
				
					 32 changed files with 58 additions and 75 deletions
				
			
		|  | @ -162,7 +162,7 @@ MeshEditor::MeshEditor() { | |||
| 
 | ||||
| 	HBoxContainer *hb = memnew(HBoxContainer); | ||||
| 	add_child(hb); | ||||
| 	hb->set_area_as_parent_rect(2); | ||||
| 	hb->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 2); | ||||
| 
 | ||||
| 	hb->add_spacer(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gilles Roudiere
						Gilles Roudiere