size_minMinimum window dimensions in pixels. Use -1 for both limits on an axis to preserve that dimension.
size_maxMaximum window dimensions in pixels; 3.4028234663852886e+38 removes the upper limit. Paired -1 limits preserve an axis.
custom_callbackLeave null; window size-constraint callbacks are not exposed to JavaScript. Passing a function throws a TypeError.
custom_callback_dataOpaque callback user-data address; unused when the callback is null.
use 0.0 or 3.4028234663852886e+38 if you don't want limits.
Use -1 for both min and max of same axis to preserve current size (which itself is a constraint).
The binding supports these numeric limits only. Upstream Dear ImGui also supports size-constraint callbacks, but this API has no JavaScript callback adapter.
Set next window size limits.