Browse Source

Demo: Layout: Removed unnecessary BeginChild/EndChild calls

pull/1414/merge
omar 7 years ago
parent
commit
a20fe279c5
  1. 2
      imgui_demo.cpp

2
imgui_demo.cpp

@ -2807,11 +2807,9 @@ static void ShowExampleAppLayout(bool* p_open)
ImGui::Separator();
ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ");
ImGui::EndChild();
ImGui::BeginChild("buttons");
if (ImGui::Button("Revert")) {}
ImGui::SameLine();
if (ImGui::Button("Save")) {}
ImGui::EndChild();
ImGui::EndGroup();
}
ImGui::End();

Loading…
Cancel
Save