You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/10/21 09:07:51 UTC
[38/49] git commit: [flex-asjs]
[refs/heads/feature-autobuild/maven-archetypes] - Changed token value test
for vertical-align css.
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/feature-autobuild/maven-archetypes
Commit: a9361775996dc8e6f7789fe9b8513b4439147de5
Parents: d4244fe
Author: Peter Ent <pe...@apache.org>
Authored: Tue Oct 18 15:37:22 2016 -0400
Committer: Peter Ent <pe...@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;