CollapsingHeader: When a close button is enabled, better clip the label to avoid overlap. (#600)

This commit is contained in:
omar
2019-05-28 21:22:18 +02:00
parent c487bc52a2
commit cb7ba60d3f
3 changed files with 16 additions and 5 deletions

View File

@ -51,6 +51,7 @@ Other Changes:
- Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567)
- ColorEdit: Fixed the color picker popup only displaying inputs as HSV instead of showing multiple
options. (#2587, broken in 1.69 by #2384).
- CollapsingHeader: Better clipping when a close button is enabled and it overlaps the label. (#600)
- Scrollbar: Very minor bounding box adjustment to cope with various border size.
- Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the
collapsing/docking button to the other side of the title bar.