-
-
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
Separators and indent #697
Comments
It was sort of by design as I think it looked weirder in some occasions when not doing that. I would have to give it another look. In
I think Separator() needs a redesign (amusing considering how trivial this it). Related to #205 At least, in the case of Columns perhaps it should be part of a new BeginColumns() api to specify how to draw borders then it that sort of situation you would need to add separators yourself. So, I don't have an answer yet. You can play with the patch above see if you think it is better, or just leave it as is for now. You can as well just draw the lines or whatever you want yourself, using the ImDrawList API. It may be a bit cumbersome but a good workaround to avoid tackling the pending-design issue :) |
If it's by design, I'll leave it be. Thanks. |
I'm not sure if it's by design, but separator lines don't respect the indentation:
The code is:
The
Table
function just issuesImGui::Separator
andImGui::NextColumn
at appropriate places, and never call the indentation functions.The text was updated successfully, but these errors were encountered: