Repository: flex-asjs
Updated Branches:
  refs/heads/feature/chart-work 3d92c1c3a -> 8ac451fc3


OneFlexibleChildVerticalLayout was not setting the flexible child's width 
properly.


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

Branch: refs/heads/feature/chart-work
Commit: 8ac451fc342813096def3a60c1c1441be69d448e
Parents: 3d92c1c
Author: Peter Ent <p...@apache.org>
Authored: Mon Apr 3 09:37:39 2017 -0400
Committer: Peter Ent <p...@apache.org>
Committed: Mon Apr 3 09:37:39 2017 -0400

----------------------------------------------------------------------
 .../flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ac451fc/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
index a183cad..fe4e920 100644
--- 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
+++ 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
@@ -293,7 +293,7 @@ package org.apache.flex.html.beads.layouts
                                        childWidth = actualChild.width;
                                        if (ilc != null && 
!isNaN(ilc.percentWidth)) {
                                                childWidth = 
(hostWidth-borderMetrics.left-borderMetrics.right-paddingMetrics.left-paddingMetrics.right)
 * ilc.percentWidth/100.0;
-                                               ilc.width = childWidth;
+                                               ilc.setWidth(childWidth);
                                        }
                                }
                                actualChild.x = hostWidth/2 - (childWidth + 
margins.left + margins.right)/2;

Reply via email to