change layout to AutoLayout, Autosize.