Setted min height and min width in frame