ChromiumWebBrowser Display top frame

37 Views Asked by At

I have a little problem that i cant find any solution for that subject. I am using Chromiuim C#. A casual load for the webview:

private void button4_Click(object sender, EventArgs e)
{
    var chrome2 = new ChromiumWebBrowser();

    CefSettings setting = new CefSettings();

    Cef.Initialize(setting);

    chrome = new ChromiumWebBrowser("https://google.com/");
    panel1.Controls.Add(chrome);
    chrome.Dock = DockStyle.Fill;
}

The results: enter image description here

Now the top regular chrome is cut/missing/not loading this: enter image description here

Should it load regularly or should it load by code

private void button4_Click(object sender, EventArgs e)
{
    var chrome2 = new ChromiumWebBrowser();

    CefSettings setting = new CefSettings();

    Cef.Initialize(setting);

    chrome = new ChromiumWebBrowser("https://google.com/");
    panel1.Controls.Add(chrome);
    chrome.Dock = DockStyle.Fill;
}
0

There are 0 best solutions below