set 'size_range' for gdMainWindow