Upvote 2

Event resize from centre.

Answered Victor Conesa 8 years ago

Hello - I'm trying to resize and element on tap, using Events. The resizing works but it seems to resize from the top left rather from the centre. What I'm trying to create is a CTA that has an icon in it, this icon on tap grows around 3 pixels and then goes back to it's original size on release. I would really appreciate any help.


Replies (1)

Hi Joe,

Resizing is done always from the top left. What you could do in this case, is simulate the resizing by adding an 'on tap' event that shows a bigger icon (hidden by default).



Leave a Comment
Attach a file