The following illustration shows how the analyst can maintain a distance between corner and the first port on each side of the Object using the Design editing toolbar Port Distribute setting button. As the size of the object is changed the ports will re redistributed to hold the % distance setup.
This illustration shows the margin setting and the resulting position of the ports