Closed
Description
Hello,
I'm trying to implement multiple scrolling regions.
Visually
[Career] [Tier1]
............ [Tier2]
............ [Tier3]
I tried the following code
// Set four columns for tiers
ImGui::Columns(2);
ImGui::PushItemWidth(100.0f);
ImGui::Text("Career");
ImGui::NextColumn();
ImGui::Text("Tiers");
for(unsigned int idx=0; idx<4; idx++)
{
static const char * label= "###label"+idx;
ImGui::BeginChild(label,ImVec2(0,100),true);
ImGui::Spacing();
ImGui::Text("test");
ImGui::EndChild();
ImGui::Separator();
}
I'm not sure what is wrong. It's nothing major but I am wondering if anyone tried it before.
Vivienne
Activity