Browse Source

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

pull/142/head
ocornut 10 years ago
parent
commit
5b59f228ed
  1. 3
      imgui.cpp

3
imgui.cpp

@ -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.

Loading…
Cancel
Save