flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [02/41] git commit: [flex-sdk] [refs/heads/develop] - added new DPI buckets as valid ones to use.
Date Sun, 01 Sep 2013 23:40:04 GMT
added new DPI buckets as valid ones to use.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4becba11
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4becba11
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4becba11

Branch: refs/heads/develop
Commit: 4becba111e0cc2b014891a48a65c162cc8f43147
Parents: 786fc5d
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat Aug 10 03:53:56 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sat Aug 10 03:53:56 2013 +1000

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/Application.as  | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4becba11/frameworks/projects/spark/src/spark/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Application.as b/frameworks/projects/spark/src/spark/components/Application.as
index e4c3c1d..d9a0f72 100644
--- a/frameworks/projects/spark/src/spark/components/Application.as
+++ b/frameworks/projects/spark/src/spark/components/Application.as
@@ -912,7 +912,7 @@ public class Application extends SkinnableContainer
      */
     private var _applicationDPI:Number = NaN;
     
-    [Inspectable(category="General", enumeration="160,240,320,480")]
+    [Inspectable(category="General", enumeration="120,160,240,320,480,640")]
     
     /**
      *  The DPI of the application.
@@ -983,10 +983,12 @@ public class Application extends SkinnableContainer
      * 
      *  <p>Flex's default mappings are:
      *     <table class="innertable">
-     *        <tr><td>160 DPI</td><td>&lt;200 DPI</td></tr>
-     *        <tr><td>240 DPI</td><td>&gt;=200 DPI and &lt;280
DPI</td></tr>
-     *        <tr><td>320 DPI</td><td>&gt;=280 DPI and &lt;400
DPI</td></tr>
-	 *        <tr><td>480 DPI</td><td>&gt;=400 DPI</td></tr>
+     *        <tr><td>160 DPI</td><td>&lt;140 DPI</td></tr>
+     *        <tr><td>160 DPI</td><td>&gt;=140 DPI and &lt;=200
DPI</td></tr>
+     *        <tr><td>240 DPI</td><td>&gt;=200 DPI and &lt;=280
DPI</td></tr>
+     *        <tr><td>320 DPI</td><td>&gt;=280 DPI and &lt;=400
DPI</td></tr>
+     *        <tr><td>480 DPI</td><td>&gt;=400 DPI and &lt;=560
DPI</td></tr>
+     *        <tr><td>640 DPI</td><td>&gt;=640 DPI</td></tr>
      *     </table>
      *  </p>
      * 


Mime
View raw message