mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02: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