Thanks for reply.

Actually I have tried this but nothing changes.The image is still not in the center of the dialog.