Separator() within column correctly vertical offset all columns content (pointed out in #125)

This commit is contained in:
ocornut 2015-02-22 14:43:52 +00:00
parent 2e9dea0619
commit 5b59f228ed

View File

@ -6210,7 +6210,10 @@ void ImGui::Separator()
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
if (window->DC.ColumnsCount > 1)
{
PushColumnClipRect();
window->DC.ColumnsCellMinY = window->DC.CursorPos.y;
}
}
// A little vertical spacing.