MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
454 stars 55 forks source link

Support WPF ViewBox Zoom #2588

Open ryanryanorient opened 2 years ago

ryanryanorient commented 2 years ago

Describe the solution you'd like and alternatives you've considered Our user screen may not be a standard screen, which will cause our html layout to have different layouts on different user screens, and we cannot see a unified page. I hope webview2 can support WPF's Viewbox, which can scale regular WPF proportionally Control, currently, it does not take effect on Webview2, Webview2 always runs at the system resolution, which is inconsistent with my expectations, and the ZoomFactor effect of Webview2 is not ideal

AB#40441888

nishitha-burman commented 2 years ago

Thanks for the feedback! We've added this as a scenario on our backlog!

plantree1995 commented 2 years ago

@ryanryanorient Let me make a short summary. You have two separate issues about WebView2.

  1. Can WebView2 support WPF's ViewBox, so it could scale proportionally
  2. The ZoomFactor effect of WebView2 is not ideal

For the first question, I don't know what you mean about Webview2 always runs at the system resolution and what is your expectation. And for the second, I want to know about what the ideal effect is. If you can give me some more information, we may better solve these problems together.