with correct layout size on the view