Skip to content
Version 2.35.0
↓ Get the launcher

IWindowSizeLimits.SetSizeLimits method

Replace the window’s resize limits (canvas units, like MinWidth). A max below its min is raised to the min. Safe before the window is first shown (applied when it mounts).

public void SetSizeLimits(float minWidth, float minHeight, float maxWidth, float maxHeight)