Pinch-Zoom gesture on native textfield. How to?

William de Smet williamdesmet at gmail.com
Tue Mar 10 05:41:30 EDT 2020


Thanks!

I tested the code on a normal/standard field and it kinda works.
I changed the multitouch-pinch code form image to fld and added a  'set
textSize ...'.
However it doesn't work as expected. The field is changing faster and
bigger then the text inside the field.

Then I found this script on the forum:
https://forums.livecode.com/viewtopic.php?f=53&t=13435&p=64556&hilit=pinch+zoom+text+field&sid=bc8d11d77d2ab8de722b07bc4863fb09#p64556
Text is resizing but not smooth.


Greetings,

William




Op ma 9 mrt. 2020 om 18:58 schreef hh via use-livecode <
use-livecode at lists.runrev.com>:

>
> http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile
>
> http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list