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.
|
---|
|
docs/CHANGELOG.txt |
---|
imgui.cpp |
---|
imgui.h |
---|
imgui_internal.h |
---|
imgui_widgets.cpp |
---|