imgui-node-editor
imgui-node-editor copied to clipboard
Problem with scalar input fieldin node
trafficstars
Hi,
I'm trying to use an ImGui::input int in a node but I get that :
I tried to force the size , but +/- seem to be on another lines
Same using InputScalar :-/
Try to enclose InputScalar between Push/PopItemWidth.
By default ImGui stretches them to whole window, nodes do not impose any limits. To keep things reasonable you need to choose width that works for you.
I used the push/pop but I can only adjust the editing field itself. the +/- squares are still like on the screenshot