diff --git a/src/GUI/ElfViewer.cpp b/src/GUI/ElfViewer.cpp index f8f1847c..65d3b5c4 100644 --- a/src/GUI/ElfViewer.cpp +++ b/src/GUI/ElfViewer.cpp @@ -10,6 +10,8 @@ ElfViewer::ElfViewer(Elf* elf) void ElfViewer::display(bool enabled) { ImGui::Begin("Self/Elf Viewer", &enabled); + // + ImGui::BeginChild("Left Tree pane", ImVec2(150, 0), false);//left tree if (elf->isSelfFile()) { if (ImGui::TreeNode("Self")) @@ -56,6 +58,14 @@ void ElfViewer::display(bool enabled) } ImGui::TreePop(); } + ImGui::EndChild();//end of left tree + + ImGui::SameLine(); + + ImGui::BeginChild("Table View", ImVec2(0, -ImGui::GetFrameHeightWithSpacing())); // Leave room for 1 line below us + + ImGui::EndChild(); + ImGui::End(); } \ No newline at end of file