Repository: flex-asjs Updated Branches: refs/heads/develop d4244fe45 -> a93617759
Changed token value test for vertical-align css. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a9361775 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a9361775 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a9361775 Branch: refs/heads/develop Commit: a9361775996dc8e6f7789fe9b8513b4439147de5 Parents: d4244fe Author: Peter Ent <p...@apache.org> Authored: Tue Oct 18 15:37:22 2016 -0400 Committer: Peter Ent <p...@apache.org> Committed: Tue Oct 18 15:37:22 2016 -0400 ---------------------------------------------------------------------- .../flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a9361775/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as index 309ef3b..c052442 100644 --- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as @@ -313,7 +313,7 @@ package org.apache.flex.html.beads.layouts if (!isNaN(ilc.percentHeight)) ilc.setHeight(h * ilc.percentHeight / 100, true); } - if (valign == "center") + if (valign == "middle") child.y = (h - child.height) / 2; else if (valign == "bottom") child.y = h - child.height - mb;