Arnaud Loonstra

Results 166 comments of Arnaud Loonstra

@r-lyeh Nice theme. However the character in a button is not properly centered, it's slightly off? For example in the InputInt.

![unaligned](https://user-images.githubusercontent.com/832465/47486388-8410cc00-d840-11e8-9d3b-72ae07ced4fc.png) It's a bit 'ant-fucking' but as you can see the '-' and '+' are not in the center of the button

I'm also seeing this when using a table inside a Node: ![image](https://user-images.githubusercontent.com/832465/159022553-10a7b112-5f71-4c6f-96cb-3e43ba72b90f.png) Just this code in a node: ```cpp static ImGuiTableFlags flags = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_Resizable | ImGuiTableFlags_BordersOuter | ImGuiTableFlags_BordersV...

This needs some *inside ImGui* perspective. I think it might be caused by the fact that item space is provided by a window and a Node is not a window....

A workaround might be to wrap the widgets which exceed the width inside a BeginChild()/EndChild()

Probably has to do with using `Set-`/`ClearActiveID` Not sure how that's handled correctly https://github.com/rokups/ImNodes/blob/26c6dbc981da747eb49f2d9f29efe808bd22ab7a/ImNodes.cpp#L451-L454

I think we've patched ImNodes to do so. However I'm not sure if it was the best approach. See: https://github.com/hku-ect/gazebosc/pull/164

btw, I'm not sure it works with imgui version 1.70. I had some issues so I upgraded to latest but can't recall what it was exactly. I created #12 for...

Yes indeed. I'm aware of that and I'm still thinking about how to achieve that most easily. I was thinking to use SetCursorPos (which tracks CursorMaxPos) to track the minimal...

I had a go at it, but it still has some issues. Basically all I do in `EndNode()` is: ``` canvas->contents_rect.Min = ImMin(canvas->contents_rect.Min, node_pos); canvas->contents_rect.Max = ImMax(canvas->contents_rect.Max, node_pos + node_rect.GetSize());...