Skip to content

[Issue] How to pass additional browser settings such as Zoom Level? #267

Description

@RMichaelPickering

What platform are you experiencing this issue on?

Windows

What architecture is your platform?

64-Bit

What version of UWB are you using?

Latest VoltstroUPM Release

What Unity version are you running?

2022.3.10f1

Describe what the issue you are experiencing is.

Need to set the Zoom level for the browser, using the CEF setting as detailed on the API as follows:
https://cefsharp.github.io/api/101.0.x/html/M_CefSharp_WebBrowserExtensions_SetZoomLevel_1.htm#!

Also, in future, other similar "WebBrowserExtensions" set or get calls should be able to be made. How would these be passed through the UWB interface?

Provide reproducible steps for this issue.

Integrate UWB and show any website. Now try to set Zoom level so that the display is scaled to a level more appropriate for a user, for example, imagine a UWB output on part of a 4K display in Unity. How can we zoom in to, say, 120% size to make the controls (e.g. scrollbar) larger and easier to interact with, and text bigger and easier to read?

Any additional info you like to provide?

Nothing specific.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issueSomething is broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions