Tables: Comments on Sizing Policies + Rename border V/H flags HInner -> InnerH + offset every flags by two.

This commit is contained in:
omar
2020-07-27 21:45:38 +02:00
committed by ocornut
parent 30e21eb280
commit 0847373b98
4 changed files with 85 additions and 73 deletions

View File

@ -2056,7 +2056,7 @@ struct ImGuiTableColumnSettings
ImS8 SortOrder;
ImU8 SortDirection : 2;
ImU8 IsVisible : 1;
ImU8 IsWeighted : 1;
ImU8 IsStretch : 1;
ImGuiTableColumnSettings()
{
@ -2066,7 +2066,7 @@ struct ImGuiTableColumnSettings
DisplayOrder = SortOrder = -1;
SortDirection = ImGuiSortDirection_None;
IsVisible = 1;
IsWeighted = 0;
IsStretch = 0;
}
};