This function resizes the interface.
Interfaces that are created on a window will be resized automatically, and this function will have no effect on them.