commit | a0994d74c256aaa582149a174385d2257a55728f | [log] [tgz] |
---|---|---|
author | omar <omarcornut@gmail.com> | Mon Jun 03 15:35:55 2019 +0200 |
committer | omar <omarcornut@gmail.com> | Wed Jun 05 15:59:13 2019 +0200 |
tree | f13ddd2458422891aecb919c711f9b2d0ba98c25 | |
parent | 09bcf9fbc54e751aed79ca908811eef4f2b1d700 [diff] |
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.