Or you set your panel_scale void as an event from on_resize

on_resize = panel_scale;

-> once in your main, and you don't need to call it yourself if you want to resize the screen wink