Zooming in on webapp?
-
Hello everyone! i have created a simple youtube-desktop mode webapp using the non-ogra-webapp container.
everything seems to work fine however i would like to zoom out by default because there are some stuff that doesnt show.
i could not find any mention of it in the documentation
does anyone know how to do this? -
I have browsed through morph-browser code, especially the parts, were environment variable or command line arguments processing occurs and I could not find any part, that changes the zoom factor from outside app. I'm afraid, there is currently no way to change zoom factor at webapp start (maybe I overlooked something and I'm wrong).
However, it can be implemented. The fastest way is to implement it yourself & then send an pull request. Or, if you are not confident in your current skills, fill a bug report an wait.
-
The zoom behaviour of Morph is currently being improved. I'm not sure what changes are in stable, but webapps in dev channel certainly have access to zoom settings by the user.
There is no option to set it in the command line for webapps, but I recall seeing the suggestion out there. Maybe in time.
edit
for command line options that are available see:
https://docs.ubports.com/en/latest/appdev/webapp/guide.html#command-line-arguments
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login