mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	Added GetItemsLineHeightWithSpacing() helper.
This commit is contained in:
		
							
								
								
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -202,6 +202,7 @@ namespace ImGui | ||||
|     IMGUI_API void          AlignFirstTextHeightToWidgets();                                    // call once if the first item on the line is a Text() item and you want to vertically lower it to match subsequent (bigger) widgets | ||||
|     IMGUI_API float         GetTextLineHeight();                                                // height of font == GetWindowFontSize() | ||||
|     IMGUI_API float         GetTextLineHeightWithSpacing();                                     // spacing (in pixels) between 2 consecutive lines of text == GetWindowFontSize() + GetStyle().ItemSpacing.y | ||||
|     IMGUI_API float         GetItemsLineHeightWithSpacing(); | ||||
|  | ||||
|     // ID scopes | ||||
|     // If you are creating widgets in a loop you most likely want to push a unique identifier so ImGui can differentiate them | ||||
|   | ||||
		Reference in New Issue
	
	Block a user