You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to render an InputText with a resizable buffer.
If I call ImGui.inputText("input", str, ImGuiInputTextFlags.CallbackResize), when I write in the input field I get a NullPointerException coming from a native method.
However, if I set the ImGuiInputTextCallback, the string gets resized correctly, even if the callback doesn't do anything.
Is this an expected behavior?
The text was updated successfully, but these errors were encountered:
I'm trying to render an InputText with a resizable buffer.
If I call
ImGui.inputText("input", str, ImGuiInputTextFlags.CallbackResize)
, when I write in the input field I get a NullPointerException coming from a native method.However, if I set the ImGuiInputTextCallback, the string gets resized correctly, even if the callback doesn't do anything.
Is this an expected behavior?
The text was updated successfully, but these errors were encountered: