Auto adjust formula width and height.