Resize render window

Hi everyone,

Probably a stupid question with a simple answer but I was not able to figure out how to resize a panda-created window (by code, of course :wink:).
Can anyone help me, please?

Thanks in advance.

WindowProperties wp;
wp.set_size(100, 100);
window_framework->get_graphics_window()->request_properties(wp);

This is the intended way to ask for such an action. However, I’m not 100% sure that all of Panda’s window implementations support dynamic resizing (that is, it might work on some platforms like Windows, but not on Mac, as a for instance).

David

Thank you! :slight_smile:

Well, for now, this is no problem as I currently work on a game for Windows.