Reputation: 53
i'm newbie on cef, i run the sample code and i look not show fine, also a resize is not work, i install cef from nuget package manager, a last version of course.
My Main Form
WindowState = FormWindowState.Maximized;
browser = new ChromiumWebBrowser("www.youtube.com")
{
Dock = DockStyle.Fill,
};
toolStripContainer1.ContentPanel.Controls.Add(browser);
Upvotes: 1
Views: 1274
Reputation: 1110
Is there a non-default display DPI setting in your environment? This may cause improper scaling of the embedded control.
We have faced and resolved a very similar issue when developing our own Chromium-based C# component for WinForms.
Upvotes: 1