Skip to content
Snippets Groups Projects
Commit a0994d74 authored by omar's avatar omar
Browse files

Clarified behavior of SetNextWindowContentSize(). Content size is defined as...

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.
parent 09bcf9fb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment