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.
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