TileLayout in JS should match SWF
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2458fe55 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2458fe55 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2458fe55 Branch: refs/heads/feature/browser-event Commit: 2458fe5593124b010e0354db408d0a51875996c2 Parents: 2f01c3a Author: Harbs <ha...@in-tools.com> Authored: Sun Jul 23 14:57:22 2017 +0300 Committer: Harbs <ha...@in-tools.com> Committed: Sun Jul 23 14:57:22 2017 +0300 ---------------------------------------------------------------------- .../main/flex/org/apache/flex/html/beads/layouts/TileLayout.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2458fe55/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/TileLayout.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/TileLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/TileLayout.as index 4ff6565..729b16e 100644 --- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/TileLayout.as +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/TileLayout.as @@ -209,8 +209,8 @@ package org.apache.flex.html.beads.layouts if (n === 0) return false; contentView.element.style["display"] = "flex"; - contentView.element.style["flex-flow"] = "row wrap"; - + contentView.element.style["flexFlow"] = "row wrap"; + contentView.element.style["alignContent"] = "flex-start"; var realN:int = n; for (i = 0; i < n; i++) {