mirror of
https://github.com/ocornut/imgui.git
synced 2026-10-25 10:29:23 +00:00
Clarified behavior of SetNextWindowContentSize(). Content size is defined as the size available after removal of WindowPadding on each sides. So SetNextWindowContentSize(ImVec2(100,100)) + auto-resize will always allow submitting a 100x100 item without creating a scrollbar, regarding of WindowPadding.The exact meaning of ContentSize for decorated windows was previously ill-defined.
This commit is contained in:
parent
09bcf9fbc5
commit
a0994d74c2
5 changed files with 47 additions and 48 deletions
Loading…
Add table
Add a link
Reference in a new issue