-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronized table resize border doesn't register mouse input when height are differents #3955
Comments
As requested by the issue template, an actual minimal repro would be helpful here. |
@ocornut Sure, I'm sorry! I've added sample code for now. |
Thanks a lot! I could confirm there is a bug with synchronized tables. This was puzzling at first, and then I realized it had nothing to do with TreeNode or actual contents, but is caused by the fact the tables have different height. We are store a "last table height" and this gets overwritten by each tables using the same ID of a synchronized set. Coincidentally this was mentioned a few days ago there: Will investigate a fix for it! |
Managed to fix this issue today (fix is 0f14933). Closing, thanks for reporting! |
Thanks a lot! You're a legend :) |
…e of several synchronized instance of a same table ID, when instances have a different height. (ocornut#3955, ocornut#3565)
Version/Branch of Dear ImGui:
Version: 1.83 WIP
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Operating System: Win10
My Issue:
When creating two or more Tables with the same ID (so the column width is synced) and TreeNodes as content,
the line where you resize the columns doesn't register mouse input correctly when TreeNodes are expanded only in one of the tables.
Is this intended? If so, how can I sync the column width without sharing the ID?
Screenshots/Video
Sample Code
`
The text was updated successfully, but these errors were encountered: