You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/13 06:00:27 UTC

[11/12] git commit: [flex-asjs] [refs/heads/release0.8.0] - need to run layout on visibility change because initial layout skips invisible objects

need to run layout on visibility change because initial layout skips invisible objects


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a03fb4f6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a03fb4f6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a03fb4f6

Branch: refs/heads/release0.8.0
Commit: a03fb4f6e184fd4d05235b10ad26e337971acebf
Parents: 8785ca0
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 12 22:46:50 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri May 12 22:46:59 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/productsView/ProductCatalogThumbnail.mxml         | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a03fb4f6/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogThumbnail.mxml b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogThumbnail.mxml
index 5f2c7c2..c339f5d 100755
--- a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogThumbnail.mxml
@@ -35,6 +35,7 @@ limitations under the License.
     <js:beads>
         <js:ContainerDataBinding />
         <js:LayoutChangeNotifier watchedProperty="{borderStyles.borderColor}" initialValue="#FFFFFF" />
+        <js:LayoutChangeNotifier watchedProperty="{buttons.visible}" initialValue="false" />
         <js:StyleChangeNotifier />
     </js:beads>
     <js:style>