mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Tables: Restore width/weight saving/loading code. Non-weighted width currently not font/DPI change friendly.
This commit is contained in:
@ -2050,7 +2050,8 @@ struct ImGuiTableColumnSettings
|
||||
ImS8 DisplayOrder;
|
||||
ImS8 SortOrder;
|
||||
ImU8 SortDirection : 2;
|
||||
ImU8 Visible : 1;
|
||||
ImU8 IsVisible : 1;
|
||||
ImU8 IsWeighted : 1;
|
||||
|
||||
ImGuiTableColumnSettings()
|
||||
{
|
||||
@ -2059,7 +2060,8 @@ struct ImGuiTableColumnSettings
|
||||
Index = -1;
|
||||
DisplayOrder = SortOrder = -1;
|
||||
SortDirection = ImGuiSortDirection_None;
|
||||
Visible = 1;
|
||||
IsVisible = 1;
|
||||
IsWeighted = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user