Added an interface for setting min window size when manually resizing