Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Centering project on stage when using Edge Commons Adaptive Layouts

$
0
0

I have successfully put together a project using Simon Widjaja's Edge Commons Adaptive layouts but I can't successfully get layouts to center on stage, 3 different layouts.

 

- In a different test project, I used $("#Stage").css("margin","auto"); in compositionReady and that centered on stage.

- I also saved a simple edge animation using Edge Commons centering coding: EC.centerStage(sym);

and this worked.

- BUT the Edge Commons centering coding OR margin,auto code doesn't seem to work for me with the Edge Commons Adaptive Layouts work.

- I assume that I might need to refer to currentAdaptiveLayout in compositionReady and tell that to center.

Here is a link to coding from Simon's Github page that might have clues.

https://github.com/simonwidjaja/EdgeCommons/blob/master/yuidoc/documen tation/files/.._src_modules_Core_Core.js.html

I am going to go ahead and post this, but will trouble shoot again tomorrow, my eyes are glazing over.

 

Thank you for any input.

Cindy J-H


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>