CollapsingHeader: Added support for ImGuiTreeNodeFlags_Bullet and ImGuiTreeNodeFlags_Leaf on framed nodes. (#2159, #2160)
The Bullet and Leaf ImGuiTreeNodeFlags are now taken into account for Framed/CollapsingHeader tree nodes as well. TreeNodeEx() can be used to specify these flags. A choice was made to left-adjust the Framed text when no Bullet/Arrow is rendered, since this was deemed to look better in the Framed context (especially when considering that CollapsingHeader is drawn using NoTreePushOnOpen, so child/sibling Text items etc will often be non-indented).
1 parent ca858c0 commit e100523917e00c7a7ee1c71309e0cd80a8ba3b27
@goran-w goran-w authored on 30 Oct 2018
omar committed on 24 Sep 2019
Showing 3 changed files
View
docs/CHANGELOG.txt
View
imgui_demo.cpp
View
imgui_widgets.cpp