Scaling

For the template to fit inside the window, make the window the size you want it , scale the template to the size you want, then adjust the Layout Constraints (Ctrl+L). Select Anchored, then anchor all 4 corners of the template inside the window.