|
@ -3220,7 +3220,7 @@ static void ShowExampleAppPropertyEditor(bool* p_open) |
|
|
{ |
|
|
{ |
|
|
// Here we use a TreeNode to highlight on hover (we could use e.g. Selectable as well)
|
|
|
// Here we use a TreeNode to highlight on hover (we could use e.g. Selectable as well)
|
|
|
ImGui::AlignTextToFramePadding(); |
|
|
ImGui::AlignTextToFramePadding(); |
|
|
ImGui::TreeNodeEx("Field", ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_Bullet, "Field_%d", i); |
|
|
ImGui::TreeNodeEx("Field", ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_Bullet, "Field_%d", i); |
|
|
ImGui::NextColumn(); |
|
|
ImGui::NextColumn(); |
|
|
ImGui::PushItemWidth(-1); |
|
|
ImGui::PushItemWidth(-1); |
|
|
if (i >= 5) |
|
|
if (i >= 5) |
|
|