You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
sorry to bother again.
I am trying to figure out how to implement something like this.
Where the eye and the checkmark are buttons.
I tried to read the following posts #282#460#2920 and couldn't quite figure out how to do it.
Basically I would like to use a CollapsingHeader but if it was possible to do it just with tree that would be fine too.
The text was updated successfully, but these errors were encountered:
You would need to pass the ImGuiTreeNodeFlags_AllowOverlapMode flag to your CollapsingHeader() or TreeNode().
Then use SameLine() or SetCursorScreenPos() to position yourself to the desired button location and submit the button.
hi Omar,
thank you for your reply!
sorry i didn't see #600
I think ImGuiTreeNodeFlags_AllowOverlapMode became ImGuiTreeNodeFlags_AllowItemOverlap.
Using ImGuiTreeNodeFlags_AllowItemOverlap and SameLine() everything works! Thanks!
Also saw #846 do you think it will become official sooner or later?
Hello everyone,
sorry to bother again.
I am trying to figure out how to implement something like this.
Where the eye and the checkmark are buttons.
I tried to read the following posts #282 #460 #2920 and couldn't quite figure out how to do it.
Basically I would like to use a CollapsingHeader but if it was possible to do it just with tree that would be fine too.
The text was updated successfully, but these errors were encountered: