Repository: flex-asjs Updated Branches: refs/heads/release0.8.0 cc58714a5 -> 4b0197b0a
Layouts on the HTML/JS side must also react to children added to accommodate apps that build their UIs dynamically. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4b0197b0 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4b0197b0 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4b0197b0 Branch: refs/heads/release0.8.0 Commit: 4b0197b0ae7d1867d63761cf57f886498b357cec Parents: cc58714 Author: Peter Ent <p...@apache.org> Authored: Tue May 16 17:19:43 2017 -0400 Committer: Peter Ent <p...@apache.org> Committed: Tue May 16 17:19:43 2017 -0400 ---------------------------------------------------------------------- .../Basic/src/main/flex/org/apache/flex/core/LayoutBase.as | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4b0197b0/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as index adadc75..dd0cdee 100644 --- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as @@ -133,6 +133,11 @@ package org.apache.flex.core } } } + COMPILE::JS { + if (sawInitComplete) { + performLayout(); + } + } } /**