Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

CEF Transparency with Border Radius #83

Open
Aricwithana opened this issue Jun 19, 2016 · 1 comment
Open

CEF Transparency with Border Radius #83

Aricwithana opened this issue Jun 19, 2016 · 1 comment

Comments

@Aricwithana
Copy link

When using a transparent background for the HUD, elements with a border radius receive a black line halo on the rounded radius.

I've seen the same issue with using CEF in other projects like cefPython but doesn't happen in any actual browser.

I'm compensating for the issue at the moment with a drop shadow css filter (not active in the attached image).

I did find this that might be useful:

http://magpcss.org/ceforum/viewtopic.php?f=6&t=13404

'You need to set CefWindowInfo.transparent_painting_enabled to true and use HTML content that does not specify a background color.'

cef-transparancy

@chapery
Copy link

chapery commented Jun 1, 2017

giving the body or html tag a background color.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants