flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [08/15] git commit: [flex-asjs] [refs/heads/develop] - set explicitWidth/Height so that initial view doesn't think it is sized to content
Date Fri, 22 May 2015 23:04:27 GMT
set explicitWidth/Height so that initial view doesn't think it is sized to content


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

Branch: refs/heads/develop
Commit: aac09e75258c7a4aae8a3c3d763bc7085606d2a3
Parents: 150811a
Author: Alex Harui <aharui@apache.org>
Authored: Fri May 22 15:26:14 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri May 22 16:04:11 2015 -0700

----------------------------------------------------------------------
 .../projects/Core/as/src/org/apache/flex/core/Application.as     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/aac09e75/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as b/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
index c44a0bb..54edeb1 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
@@ -143,9 +143,9 @@ package org.apache.flex.core
             {
                 initialView.applicationModel =  model;
                 if (isNaN(initialView.explicitWidth))
-                    initialView.setWidth(stage.stageWidth);
+                    initialView.width = stage.stageWidth;
                 if (isNaN(initialView.explicitHeight))
-                    initialView.setHeight(stage.stageHeight);
+                    initialView.height = stage.stageHeight;
         	    this.addElement(initialView);
                 var bgColor:Object = ValuesManager.valuesImpl.getValue(this, "background-color");
                 if (bgColor != null)


Mime
View raw message