ImGuiColorTextEdit
ImGuiColorTextEdit copied to clipboard
Auto-Scroll Issue
Hi , i've been using this TextEditor and for some reason when i try to scroll down, it auto-scrolls back up for some reason. Any help would be nice, thanks! :)
This is occuring when i call if (ImGui::CollapsingHeader("header)){ Box.Render(); }
I have same issue. Any help?
I have same issue. Any help?
I've checked the source code. There is why and how:
You should not call editor.SetText(str);
in your render loop. SetText();
will set mScrollToTop=true
every frame.
So, set the text out of your render loop will make it right.
I have same issue. Any help?
I've checked the source code. There is why and how: You should not call
editor.SetText(str);
in your render loop.SetText();
will setmScrollToTop=true
every frame. So, set the text out of your render loop will make it right.
Thanks :)