// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
// Override declared contents width to enable auto-resize on the X axis when possible.
// Override declared contents width/height to enable auto-resize while not needlessly adding a scrollbar
// FIXME-TABLE: This can be improved (e.g. for Fixed columns we don't want to auto AutoFitWidth? or propagate window auto-fit to table?)
if(table->IsOuterRectMinFitX)
if(table->Flags&ImGuiTableFlags_ScrollX)
{
outer_window->DC.CursorMaxPos.x=ImMax(backup_outer_max_pos.x,table->OuterRect.Min.x+table->ColumnsGivenWidth+inner_window->ScrollbarSizes.x);// For outer scrolling