imgui-node-editor icon indicating copy to clipboard operation
imgui-node-editor copied to clipboard

Problem with scalar input fieldin node

Open SadE54 opened this issue 5 years ago • 2 comments
trafficstars

Hi,

I'm trying to use an ImGui::input int in a node but I get that : Blueprints_d_kDurxLx2hP I tried to force the size , but +/- seem to be on another lines Same using InputScalar :-/

SadE54 avatar Jan 06 '20 15:01 SadE54

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.

thedmd avatar Jan 06 '20 17:01 thedmd

I used the push/pop but I can only adjust the editing field itself. the +/- squares are still like on the screenshot

SadE54 avatar Jan 06 '20 18:01 SadE54