locationとprefferedLocation

prefferedLocationで指定するとLayoutによって適切な位置にlocationが設定される