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