How to resize the frame?

do you realize that the function call returns something?