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.
1 parent 09bcf9f commit a0994d74c256aaa582149a174385d2257a55728f
@omar omar authored on 3 Jun 2019
Showing 5 changed files
View
docs/CHANGELOG.txt
View
imgui.cpp
View
imgui.h
View
imgui_internal.h
View
imgui_widgets.cpp