mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	align to horizontal_alignment, valign to vertical_alignment, related
This commit is contained in:
		
							parent
							
								
									f1e3c87244
								
							
						
					
					
						commit
						41a20171eb
					
				
					 130 changed files with 861 additions and 1011 deletions
				
			
		|  | @ -136,7 +136,7 @@ void ThemeEditorPreview::_draw_picker_overlay() { | |||
| 		Point2 label_pos = highlight_label_rect.position; | ||||
| 		label_pos.y += highlight_label_rect.size.y - margin_bottom; | ||||
| 		label_pos.x += margin_left; | ||||
| 		picker_overlay->draw_string(theme_cache.preview_picker_font, label_pos, highlight_name, HALIGN_LEFT, -1, theme_cache.font_size); | ||||
| 		picker_overlay->draw_string(theme_cache.preview_picker_font, label_pos, highlight_name, HORIZONTAL_ALIGNMENT_LEFT, -1, theme_cache.font_size); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | @ -365,7 +365,7 @@ DefaultThemeEditorPreview::DefaultThemeEditorPreview() { | |||
| 	vhb->add_child(memnew(VSeparator)); | ||||
| 	VBoxContainer *hvb = memnew(VBoxContainer); | ||||
| 	vhb->add_child(hvb); | ||||
| 	hvb->set_alignment(BoxContainer::ALIGN_CENTER); | ||||
| 	hvb->set_alignment(BoxContainer::ALIGNMENT_CENTER); | ||||
| 	hvb->set_h_size_flags(SIZE_EXPAND_FILL); | ||||
| 	hvb->add_child(memnew(HSlider)); | ||||
| 	HScrollBar *hsb = memnew(HScrollBar); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nathan Franke
						Nathan Franke