Sets the size of the window (but only if the given size is larger than the window's minimum size).
A window's size can be changed by the user, and such changes do not go through this method; use on-size to monitor size changes.