iOS Question [B4X] WebView - Zoom and maintain upper left corner.

MrKim

Well-Known Member
Licensed User
Longtime User
I am displaying customer formatted data in a webview. I have no control over the content. Normally it is just text, and sometimes (frequently), depending on the device it is too small.

I would like to be able to zoom in with code but the problem is the text is typically in the upper left corner and each time I zoom the text starts to move off the screen.

Is there a way to zoom in and then programmatically move the display (panel?) to display the upper left hand corner?

This needs to work in B4A/i/J

Thanks in advance for any help.
 

MrKim

Well-Known Member
Licensed User
Longtime User
If you don't have any control over the content then it is not a simple task. It is the responsibility of the remote site to display properly on small screens.

If the content is not html content then don't use WebView to show it.
Thank you. It is not critical, I just thought it would be a nice touch if it was easy to do.
 
Upvote 0
Top