-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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 is actually way wider than others #1266
Comments
I'm looking into it, the reason is that columns after the first one have a bit of space between the border, whereas the first column doesn't have it. It makes sense because we don't display the left border (which in some situations is nice, in some perhaps less so). In your case since you don't use borders it's even weirder to see it like that. Adding this spacing for the first column would offset the text in your picture a little on the right which would be odd. There are different solutions (perhaps different depending on if a border is enabled or not) and I am not sure which one is right. Since columns are a bit of a mess it is possible that I may defer the fix until I have time to spend serious time on columns in general. |
OK that difference (which was worth Note that:
|
I've inserted this code to imgui_demo.cpp (line 1357). Result:
First column always shows bigger ImGui::GetContentRegionAvailWidth(). Why and how to fix?
The text was updated successfully, but these errors were encountered: