UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Zooming in on webapp?

    Scheduled Pinned Locked Moved App Development
    zoomwebappyoutube
    3 Posts 3 Posters 433 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • C Offline
        ComLarsic
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • jezekJ Offline
          jezek
          last edited by

          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.

          jEzEk

          1 Reply Last reply Reply Quote 0
          • G Offline
            Giiba
            last edited by Giiba

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post