Have you tried Scale Outer mode? See this example:
https://www.dropbox.com/s/t26uee766dyqdss/TestLayoutScale.c3p?dl=0
Or do you need to limit the minimum scale at 100%? I.e. - if the window is bigger than 1024x1024, then the layout is scaled up, but if it's smaller, then the layout is cropped?
Thanks for your response.
The window view should not go beyond 1024 on either height or width. If I decrease the window size, the layout zoom out (should not crop) to fit to 1024 on either width or heigth likewise if I increase the window size, the layout should zoom in to fit to 1024 on either width or heigth.
I tired using the scale outer mode it goes beyond 1024.
I will check your c3p file now. Thanks. :D