Justinmind-logo
 
Upvote 2

Event resize from centre.

Answered Victor Conesa 6 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.


Thanks,

Replies (1)

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


Best,


Lidia

Leave a Comment
 
Attach a file