fix minor bug
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f8d91e6f Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f8d91e6f Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f8d91e6f Branch: refs/heads/develop Commit: f8d91e6f34bb0b5a58bb06f237b84cbaec85d178 Parents: d2fe78a Author: Alex Harui <[email protected]> Authored: Fri May 22 15:28:03 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Fri May 22 16:04:11 2015 -0700 ---------------------------------------------------------------------- .../as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as | 2 +- .../as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f8d91e6f/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as index 5400432..95ae30c 100644 --- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as +++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/HorizontalLayout.as @@ -250,7 +250,7 @@ package org.apache.flex.html.beads.layouts else { child.y = mt; - hh -= top; + hh -= mt; } if (!isNaN(bottom)) { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f8d91e6f/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as index b758f88..d722d09 100644 --- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as +++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as @@ -264,7 +264,7 @@ package org.apache.flex.html.beads.layouts else { child.x = ml; - ww -= left; + ww -= ml; } if (!isNaN(right)) {
