Resizing the elements in the doctor.