{"action":"created","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/125","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/125/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/125/events","html_url":"https://github.com/ocornut/imgui/issues/125","id":57019025,"number":125,"title":"Columns API work","user":{"login":"ocornut","id":8225057,"avatar_url":"https://avatars.githubusercontent.com/u/8225057?v=3","gravatar_id":"","url":"https://api.github.com/users/ocornut","html_url":"https://github.com/ocornut","followers_url":"https://api.github.com/users/ocornut/followers","following_url":"https://api.github.com/users/ocornut/following{/other_user}","gists_url":"https://api.github.com/users/ocornut/gists{/gist_id}","starred_url":"https://api.github.com/users/ocornut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocornut/subscriptions","organizations_url":"https://api.github.com/users/ocornut/orgs","repos_url":"https://api.github.com/users/ocornut/repos","events_url":"https://api.github.com/users/ocornut/events{/privacy}","received_events_url":"https://api.github.com/users/ocornut/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ocornut/imgui/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ocornut/imgui/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ocornut/imgui/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-02-09T11:30:23Z","updated_at":"2015-08-28T13:25:26Z","closed_at":null,"body":"This thread to discuss the existing Columns() system. They are still a bit confusing at times and not as well supported as other part of the API. Some discussions there:\r\n\r\nhttps://github.com/ocornut/imgui/issues/124\r\nhttps://github.com/ocornut/imgui/issues/85\r\n"},"comment":{"url":"https://api.github.com/repos/ocornut/imgui/issues/comments/135775009","html_url":"https://github.com/ocornut/imgui/issues/125#issuecomment-135775009","issue_url":"https://api.github.com/repos/ocornut/imgui/issues/125","id":135775009,"user":{"login":"ocornut","id":8225057,"avatar_url":"https://avatars.githubusercontent.com/u/8225057?v=3","gravatar_id":"","url":"https://api.github.com/users/ocornut","html_url":"https://github.com/ocornut","followers_url":"https://api.github.com/users/ocornut/followers","following_url":"https://api.github.com/users/ocornut/following{/other_user}","gists_url":"https://api.github.com/users/ocornut/gists{/gist_id}","starred_url":"https://api.github.com/users/ocornut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocornut/subscriptions","organizations_url":"https://api.github.com/users/ocornut/orgs","repos_url":"https://api.github.com/users/ocornut/repos","events_url":"https://api.github.com/users/ocornut/events{/privacy}","received_events_url":"https://api.github.com/users/ocornut/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T13:25:26Z","updated_at":"2015-08-28T13:25:26Z","body":"Was curious to try that today\r\n![splitter_test](https://cloud.githubusercontent.com/assets/8225057/9547206/8362a21c-4d90-11e5-8ffe-df8c3e557d3c.gif)\r\n\r\n```\r\n        ImGui::Begin(\"Splitter test\");\r\n\r\n        static float w = 200.0f;\r\n        static float h = 300.0f;\r\n        ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0,0));\r\n        ImGui::BeginChild(\"child1\", ImVec2(w, h), true);\r\n        ImGui::EndChild();\r\n        ImGui::SameLine();\r\n        ImGui::InvisibleButton(\"vsplitter\", ImVec2(8.0f,h)); \r\n        if (ImGui::IsItemActive())\r\n            w += ImGui::GetIO().MouseDelta.x;\r\n        ImGui::SameLine();\r\n        ImGui::BeginChild(\"child2\", ImVec2(0, h), true);\r\n        ImGui::EndChild();\r\n        ImGui::InvisibleButton(\"hsplitter\", ImVec2(-1,8.0f));\r\n        if (ImGui::IsItemActive())\r\n            h += ImGui::GetIO().MouseDelta.y;\r\n        ImGui::BeginChild(\"child3\", ImVec2(0,0), true);\r\n        ImGui::EndChild();\r\n        ImGui::PopStyleVar();\r\n\r\n        ImGui::End();\r\n```"}}