NSTextField on top of a NSVisualEffectView with wantsLayer aliasing issue

1.1k Views Asked by At

I'm aware that you must have a solid background color behind a NSTextField when using Core Animation layers (CALayer) as sub-pixel is not supported, however I need to use a NSVisualEffectView behind my NSOutlineView and I'm using several NSTextFields on top. If I set wantsLayer to YES for the NSOutlineView, sadly the text on top becomes poorly aliased. How can I get the nice blur AND smooth text on top? Does this mean we can't use CALayer at all when using NSVisualEffectView as it's superview?

0

There are 0 best solutions below