3 Replies Latest reply on Sep 27, 2014 10:10 AM by Devendra Kumar

    How to preserve aspect ratio with a responsive layout?

    jahandaniel Level 1

      Hi,

       

      I have an image that I need to place in the centre of my stage.

      The image is that of a ball and has 400px by 400px size.

       

      I want my animations to be responsive so that the image will scale but still maintain the correct aspect ratio.

      Currently if I set pixels to % on width and height, the image stretches.

       

      How do you do this in EA?