ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
859 stars 259 forks source link

CEF Transparency with Border Radius #83

Open Aricwithana opened 8 years ago

Aricwithana commented 8 years ago

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 commented 7 years ago

giving the body or html tag a background color.