I don't need a function which changes only the size of the window as video_set(...) does , but to change also the size of the panels so that they fit the windows in the same proportions.