added min width and min height

added min width and min height in view