mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-23 04:17:00 +00:00
Replaced obsolete function with new one.
This commit is contained in:
parent
71296910a0
commit
e67f3809ed
@ -1651,7 +1651,7 @@ void ImGui::ShowTestWindow(bool* p_open)
|
|||||||
|
|
||||||
if (ImGui::TreeNode("Horizontal Scrolling"))
|
if (ImGui::TreeNode("Horizontal Scrolling"))
|
||||||
{
|
{
|
||||||
ImGui::SetNextWindowContentWidth(1500);
|
ImGui::SetNextWindowContentSize(ImVec2(1500.0f, 0.0f));
|
||||||
ImGui::BeginChild("##ScrollingRegion", ImVec2(0, ImGui::GetFontSize() * 20), false, ImGuiWindowFlags_HorizontalScrollbar);
|
ImGui::BeginChild("##ScrollingRegion", ImVec2(0, ImGui::GetFontSize() * 20), false, ImGuiWindowFlags_HorizontalScrollbar);
|
||||||
ImGui::Columns(10);
|
ImGui::Columns(10);
|
||||||
int ITEMS_COUNT = 2000;
|
int ITEMS_COUNT = 2000;
|
||||||
|
Loading…
Reference in New Issue
Block a user