mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Columns: minor tidying up while investigating severe issues with indenting within columns (#414)
This commit is contained in:
@ -1288,8 +1288,9 @@ void ImGui::ShowTestWindow(bool* opened)
|
||||
ImGui::Spacing();
|
||||
|
||||
// Tree items
|
||||
ImGui::Text("Tree items:");
|
||||
ImGui::Columns(2, "tree items");
|
||||
ImGui::Text("Tree items:");
|
||||
ImGui::SameLine(); ShowHelpMarker("Whole tree inside single cell");
|
||||
ImGui::Columns(2, "tree items");
|
||||
ImGui::Separator();
|
||||
if (ImGui::TreeNode("Hello")) { ImGui::BulletText("Sailor"); ImGui::TreePop(); } ImGui::NextColumn();
|
||||
if (ImGui::TreeNode("Bonjour")) { ImGui::BulletText("Marin"); ImGui::TreePop(); } ImGui::NextColumn();
|
||||
|
Reference in New Issue
Block a user