flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34375 FormItem resizing. Accept patch from Joao Fernandes
Date Sun, 22 Jun 2014 15:18:41 GMT
FLEX-34375 FormItem resizing.  Accept patch from Joao Fernandes


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

Branch: refs/heads/develop
Commit: 0b39956e5792df017315ddc585e1522894b17a1b
Parents: 42845f1
Author: Alex Harui <aharui@apache.org>
Authored: Sun Jun 22 08:17:21 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Jun 22 08:17:21 2014 -0700

----------------------------------------------------------------------
 .../projects/mx/src/mx/containers/FormItem.as       | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b39956e/frameworks/projects/mx/src/mx/containers/FormItem.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/containers/FormItem.as b/frameworks/projects/mx/src/mx/containers/FormItem.as
index 43279bd..e74aa7b 100644
--- a/frameworks/projects/mx/src/mx/containers/FormItem.as
+++ b/frameworks/projects/mx/src/mx/containers/FormItem.as
@@ -477,6 +477,22 @@ public class FormItem extends Container
 
     //--------------------------------------------------------------------------
     //
+    //  Overridden properties: UIComponent
+    //
+    //--------------------------------------------------------------------------
+    
+    /**
+     *  @private
+     */
+    override public function set includeInLayout(value:Boolean):void
+    {
+        super.includeInLayout = value;
+        if(value)
+            invalidateSize();
+    }
+        
+    //--------------------------------------------------------------------------
+    //
     //  Overridden methods: UIComponent
     //
     //--------------------------------------------------------------------------


Mime
View raw message