Skip to content
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

First column of some tables aren't resizable. #6503

Closed
sarchar opened this issue Jun 9, 2023 · 2 comments
Closed

First column of some tables aren't resizable. #6503

sarchar opened this issue Jun 9, 2023 · 2 comments

Comments

@sarchar
Copy link

sarchar commented Jun 9, 2023

Version/Branch of Dear ImGui:

Version: 1.89.6
Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Compiler: MSVC 2022
Operating System: Windows 11

My Issue/Question:

The first column of some tables aren't resizable. Perhaps I'm misunderstanding a feature (rather than this being a bug). Most of the tables in the example/demo have all columns resizable except the table in the Advanced tree.

This happens in example_glfw_opengl3.

I really think this is me misunderstanding how resizing works, but I am certain the "NoResize" flag is not set on the column and that Resizable is set on my tables.

Screenshots/Video

image

@ocornut
Copy link
Owner

ocornut commented Jun 9, 2023

Hello,
It appears to be a recent bug, where the combination of a table fix (f799a29 + d6ea56d) and minor change to child windows 47579f8 revealed a ID collision. It happens on the first column of any table that has ScrollX or ScrollY enabled.

ocornut added a commit that referenced this issue Jun 9, 2023
…. Fixes regression in 1.89.6 leading to the first column of tables with either ScrollX or ScrollY flags from being impossible to resize. (#6503)
@ocornut
Copy link
Owner

ocornut commented Jun 9, 2023

I have pushed a fix 4fab72b and will work on a regression test when I have the time. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants