mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout.
This commit is contained in:
parent
cdbc21a191
commit
fa4c49b4a7
2 changed files with 8 additions and 3 deletions
|
|
@ -7425,7 +7425,7 @@ static void ShowExampleAppLayout(bool* p_open)
|
|||
// Left
|
||||
static int selected = 0;
|
||||
{
|
||||
ImGui::BeginChild("left pane", ImVec2(150, 0), ImGuiChildFlags_Border);
|
||||
ImGui::BeginChild("left pane", ImVec2(150, 0), ImGuiChildFlags_Border | ImGuiChildFlags_ResizeX);
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
// FIXME: Good candidate to use ImGuiSelectableFlags_SelectOnNav
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue