JoseDx20
JoseDx20

Reputation: 53

Why CefSharp not working fine?

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. Example Form

My Main Form

WindowState = FormWindowState.Maximized;

        browser = new ChromiumWebBrowser("www.youtube.com")
        {
            Dock = DockStyle.Fill,
        };

        toolStripContainer1.ContentPanel.Controls.Add(browser);

Upvotes: 1

Views: 1274

Answers (1)

Anna Dolbina
Anna Dolbina

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

Related Questions