Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F38410411 for ; Fri, 5 Dec 2014 17:48:55 +0000 (UTC) Received: (qmail 22844 invoked by uid 500); 5 Dec 2014 17:48:55 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 22807 invoked by uid 500); 5 Dec 2014 17:48:55 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 22791 invoked by uid 99); 5 Dec 2014 17:48:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 17:48:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [95.142.156.16] (HELO mail1-a.eqx.gridhost.co.uk) (95.142.156.16) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 17:48:27 +0000 Received: from [151.227.89.177] (helo=[192.168.0.9]) by mail1.eqx.gridhost.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Xwwxz-0003Pe-VJ for dev@flex.apache.org; Fri, 05 Dec 2014 17:46:56 +0000 Message-ID: <5481EF8C.4030401@leeburrows.com> Date: Fri, 05 Dec 2014 17:46:52 +0000 From: Subscriptions User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: dev@flex.apache.org Subject: Re: WindowApplication.as edit / ApplicationDPI scaling bug ? References: <5481ED58.1010200@leeburrows.com> In-Reply-To: <5481ED58.1010200@leeburrows.com> Content-Type: multipart/alternative; boundary="------------010305000006050308080207" X-Gridhost-Auth2: subscriptions@leeburrows.com X-Virus-Checked: Checked by ClamAV on apache.org --------------010305000006050308080207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This code works for me (by scaling a group). I leave it you to determine a suitable calculation for newScale value. Custom runtimeDPIprovider not needed as default returns 160 (which is fine) Lee Burrows ActionScripter On 05/12/2014 17:37, Subscriptions wrote: > I havent tested it but a possible workaround would be to avoid flex > scaling completely and write your own... either set stage.scaleX/Y as > appropriate (or maybe you will need to put all your content inside a > group and scale the group). > > Having said that, the more i think about it, i'm not sure scaling a > desktop app is ideal (even if window cant be resized by user) - but > i'm guessing your app is too far into development to change that? > > Lee Burrows > ActionScripter > > On 05/12/2014 16:54, Jason Moore wrote: >> Hi All, >> >> I submitted a bug to the Jira system around how the application >> scaling using applicationDPI for desktop Air Apps seems to be broken. >> I've included screenshots, example code etc.. so I won't go into >> detail here, if you're interested and can help please do have a look. >> https://issues.apache.org/jira/browse/FLEX-34653 >> >> Anyway, I've checked out the source... and have been playing around >> but I can't seem to get any changes to the WindowedApplication.as >> (\frameworks\projects\airspark\src\spark\components) to do anything. >> Trace statements don't work, I've even put in deliberate errors... to >> no effect. Changes and trace statements in other parts of the >> framework such as systemManager.as appear so I know I'm compiling and >> using my edited source. >> >> Is there something special about the WindowedApplication.as ... is it >> overridden somewhere in the build? >> >> Any help appreciated. >> >> Jason :) >> > > --------------010305000006050308080207--