3 Replies Latest reply on May 13, 2009 6:22 PM by Gregory Lafrance

    How to scale the content along with child elements?

    SirajKhan Level 1

      By default I need my application size to be compatible with 1280x800 resolution; and if the application is viewed at a bigger resolution, only the background needs to be stretched, therefore I have to hardcode canvas size and set background in percentage. Till now it is alright, but when the application is viewed at a smaller resolution or with window size scaled down, the application content should also scale along.

       

      So, any clues on scaling down the content [along with child contents]? mind you, it has background images so must be scaled with proper aspect ratio.

       

      Thanks for any help.

       

      Siraj Khan

      khan_siraj@yahoo.com