Closed csumudu closed 9 years ago
fa-align
and fa-origin
are fa-modifier
attributes. Since fa-surface
doesn't acknowledge them, it defaults to [0,0]
origin. Try sticking them on an fa-modifier
wrapping your fa-surface
, like:
<fa-modifier fa-align="[0.5, 0.5]" fa-origin="[0.5, 0.5]">
<fa-surface fa-size="[true, true]">
</fa-surface>
</fa-modifier>
+1, @andrelevi . @csumudu , did this resolve your issue?
Thanks. it works :+1:
Somehow when I do fa-origin="[0.5, 1]" fa-align="[0.5, 1]"
, the element went below the screen.
Closing per csmundu's comments on October 31.
when we set true size surface with fa-align=[0.5,0.5] and fa-origin=[0.5,0.5] it always align to 0,0 position where as in vanilla famou.us it works as expented