Page 1 of 1

HTMLview Class on Android---Pinch Zoom

Posted: Fri Jul 12, 2019 8:16 pm
by PEB
Is there a way to enable pinch zooming through the HTMLview class for RapaGUI on Android?

Re: HTMLview Class on Android---Pinch Zoom

Posted: Fri Jul 12, 2019 9:43 pm
by airsoftsoftwair
No, that's currently not supported.

Re: HTMLview Class on Android---Pinch Zoom

Posted: Sat Jul 13, 2019 5:36 pm
by PEB
Okay.
Just in case you don't have enough other things to keep you busy :D, please add this to the wishlist.
Thanks.

Re: HTMLview Class on Android---Pinch Zoom

Posted: Sun Jul 14, 2019 5:56 pm
by airsoftsoftwair
I'll see what I can do.

Re: HTMLview Class on Android---Pinch Zoom

Posted: Wed Aug 12, 2020 3:41 pm
by airsoftsoftwair

Code: Select all

- New [Android]: Pinch view zooming is now supported for HTMLview class 

Re: HTMLview Class on Android---Pinch Zoom

Posted: Wed Aug 12, 2020 8:39 pm
by bitRocky
How about adding more gestures?
Like swipe left/right in PageViews?

Or is it possible to add gestures myself?

Re: HTMLview Class on Android---Pinch Zoom

Posted: Thu Aug 13, 2020 8:19 pm
by PEB
Thanks for adding that feature, Andreas!

Does the pinch-zoom action trigger an event or give any notification? Is it possible to query the current zoom amount or determine whether or not the displayed HTML page is currently zoomed?

Re: HTMLview Class on Android---Pinch Zoom

Posted: Thu Aug 13, 2020 9:16 pm
by airsoftsoftwair
bitRocky wrote: Wed Aug 12, 2020 8:39 pm How about adding more gestures?
Like swipe left/right in PageViews?

Or is it possible to add gestures myself?
Currently not. Gesture support is generally lacking in Hollywood at the moment. But it's planned to add some improvements here.
PEB wrote: Thu Aug 13, 2020 8:19 pm Thanks for adding that feature, Andreas!

Does the pinch-zoom action trigger an event or give any notification?
No. It's just there like in a normal browser.
PEB wrote: Thu Aug 13, 2020 8:19 pm Is it possible to query the current zoom amount or determine whether or not the displayed HTML page is currently zoomed?
No, this is too Android-specific. I'm trying to keep platform-specific stuff down at a minimum and since pinch zoom is only available on Android anyway I don't want to add any new attributes that would only work on Android.