You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2017/07/23 11:57:26 UTC

git commit: [flex-asjs] [refs/heads/develop] - TileLayout in JS should match SWF

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 2f01c3a27 -> 2458fe559


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/develop
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++)
 				{