Documentation

UI::SetNextWindowSizeConstraints

Function

void UI::SetNextWindowSizeConstraints(int min_width, int min_height, int max_width, int max_height)

Sets next window size limits. Use 0 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 size is automatically scaled by UI::GetScale().

int min_width

int min_height

int max_width

int max_height