4 Replies Latest reply on Feb 6, 2015 8:07 AM by Annihil8ted

    Flex not scaling properly on Macbook Pro Retina Display

    Annihil8ted Level 1

      Hello all!

       

      I'm currently writing an app in Flex on Flash Builder on a late Macbook Pro 15 Retina display. In my WindowedApplication, I've set the tags width and height to be 1920 and 1080 respectively. For some reason, when running debug, the application window opens up bigger than my screen. This doesn't make sense to me because my screen resolution is 2880 x 1800. Some further tests showed that what's appearing on screen is actually twice the resolution of what it should be. Can someone please help me with this scaling issue?  I'm assuming everything will look right when I run the app on a normal screen however debug is now a pain in the butt due to the scaling. Below is my main WindowedApplication and its tags:

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"

          xmlns:s="library://ns.adobe.com/flex/spark"

          xmlns:mx="library://ns.adobe.com/flex/mx"

          width="1920"

          height="1080"

          maxHeight="1080"

          maxWidth="1920"

          creationComplete="init(event)"

          xmlns:Screens="Screens.*"

          closing="shutDown()">



       

       

       

      Thanks!

      Kevin