Centre and Layout

Try this: How to fit + center document in view after the layout is done.