ChromiumWebBrowser in WindowsFormHost wrong zoom of Frames

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

ChromiumWebBrowser in WindowsFormHost wrong zoom of Frames

Postby bobogum » Tue Jan 09, 2018 11:50 am

Hi,
I have an issue with using WindowsFormHost in a WPF application by using the ChromiumWebBrowser of WindowsForms as seen in the attachments, the Frames left and above a too small. The main frame seems ok.

Do anyone have an idea how to fix?


Cef.Initialize(new CefSettings());
var browser = new ChromiumWebBrowser(@"file://C:\ProgramData\Help\Index.html");
formsHost.Child = browser;
Attachments
HelpWhithEdge.PNG
Shows the html in Microsoft edge and right
HelpWhithEdge.PNG (24.14 KiB) Viewed 2568 times
HelpWhiChronium.PNG
Shows the html in WindowsFormHost and wrong
HelpWhiChronium.PNG (12.65 KiB) Viewed 2568 times
bobogum
Newbie
 
Posts: 1
Joined: Tue Jan 09, 2018 11:40 am

Re: ChromiumWebBrowser in WindowsFormHost wrong zoom of Fram

Postby Czarek » Thu Jan 25, 2018 4:32 am

This forum is for C/C++ applications. Find out what CEF wrapper you're using and see project's README for its support channel.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 33 guests