Background:
Refer to the documentation above to embed chromium browser in WinForm.
Problem statement:
Whenever I embed the CefSharp Web Browser, the formatting changed.
Observation - With embedded CefSharp Web Browser:
- Window State set to Maximized but it won't start with Maximized state.
- The formatting of the words seems changed - truncated with '...'
using CefSharp;
using CefSharp.WinForms;
private ChromiumWebBrowser browser = new ChromiumWebBrowser();
private void frmBulletin_Load(object sender, EventArgs e)
{
Cef.Initialize(new CefSettings());
pnlBrowser.Controls.Add(browser);
browser.Dock = DockStyle.Fill;
}
Screen shot: Without embedded CefSharp Web Browser (Maximized - full screen):
Screen shot: With embedded CefSharp Web Browser (around 3/4 of the screen only, the words truncated with '...'):