Open mlynch opened 3 years ago
related: microsoft/windowsappsdk#1170 in the bucket of "need to expose more of the underlying webview2"
Couldn't agree more, the ZoomFactor property is a crucial feature especially when we are developing the container for the web apps.
Any word on this?
Without ZoomFactor you can only use Scale, which takes the final rendering and scales that. This results in blurry and unreadable text. ZoomFactor corrects this by performing a re-render at the proper size.
Proposal: Expose more properties and methods from
CoreWebView2Controller
Per the conversation on the WebView2Feedback repo, sounds like WinUI3 is missing some properties from
CoreWebView2Controller
that have been since exposed on WPF and Winforms. In this particular case, theZoomFactor
property was missing which is needed for programatic zooming in the web view.Rationale
These properties are being exposed in other Windows frameworks and, based on the conversation on the above issue, the intention is for those same properties to be exposed on the WebView2 control in WinUI3