mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-21 12:52:19 +01:00
Separator() within column correctly vertical offset all columns content (pointed out in #125)
This commit is contained in:
parent
2e9dea0619
commit
5b59f228ed
@ -6210,7 +6210,10 @@ void ImGui::Separator()
|
|||||||
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
|
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
|
||||||
|
|
||||||
if (window->DC.ColumnsCount > 1)
|
if (window->DC.ColumnsCount > 1)
|
||||||
|
{
|
||||||
PushColumnClipRect();
|
PushColumnClipRect();
|
||||||
|
window->DC.ColumnsCellMinY = window->DC.CursorPos.y;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// A little vertical spacing.
|
// A little vertical spacing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user