[Solved] Limiting window size on rescale


With a resizable window, is there any way to set say a minimum size limit that you want the window to be? On default it seems to be something like 120px wide and 0 or 1px tall. So far I haven’t found anything on this, which doesn’t surprise me much.

Thank you in advance.

I don’t think Panda does any effort to limit the window size; this is up to the OS. You can implement this yourself, though, by listening for the window event, and in that event you can get the current size and rescale the window appropriately.

Ah, I didn’t know you could have panda rescale the window from inside the code that way, though that does make sense. Thank you.