mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Tables: Resizing weighted column preserve sum of weights. Fix ResizedColumn init leading to undesirable TableSetColumnWidth() on first run. Rework TableSettingsHandler_ReadLine() structure to allow other types of line.
This commit is contained in:
		| @@ -2037,6 +2037,7 @@ struct ImGuiTable | ||||
|         LastResizedColumn = -1; | ||||
|         ContextPopupColumn = -1; | ||||
|         ReorderColumn = -1; | ||||
|         ResizedColumn = -1; | ||||
|     } | ||||
| }; | ||||
|  | ||||
| @@ -2048,7 +2049,7 @@ struct ImGuiTableColumnSettings | ||||
|     ImS8    Index; | ||||
|     ImS8    DisplayOrder; | ||||
|     ImS8    SortOrder; | ||||
|     ImS8    SortDirection : 7; | ||||
|     ImU8    SortDirection : 2; | ||||
|     ImU8    Visible : 1; | ||||
|  | ||||
|     ImGuiTableColumnSettings() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user