Odd behavior with HTML Viewer

I sometimes use the html viewer to provide instructions (it’s fairly easy to do formatting).

Works fine in simulator. Works fine on regular size iPad.

On an iPad mini the text is really small (looks like 4 pt type).

I’ll be back after some more research, but if anyone has a suggestion…

Have you got the meta viewport set in the html content so that the content isn’t scaled?

meta name="viewport" content="width=device-width, initial-scale=1.0"
1 Like

Glad it was useful. That setting has caught me out several times on mobile!

Sorry, deleted by mistake. I’ll put it back tomorrow afternoon.

(At State Fair tomorrow AM. Telling Cow Jokes in the Cattle Barn.)

Here’s the example HTML that I accidentally deleted.

<html>

<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
USER VISIBLE STUFF GOES HERE.
</body>
</html>
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.