I’m trying to disable vibrancy on an NSPopover. It seems like I need to make a 
NSAppearanceMBS and then assign that to the appearance property of an 
NSPopover. Except that NSPopoverMBS takes an integer, not an NSAppearance, and 
I’m not sure if the required appearance has been exposed.

Basically, I’m trying to convert this from Objective-C, stolen from 
http://mikeabdullah.net/nspopover-disable-vibrancy.html

- (void)disableVibrancyForPopover:(NSPopover *)popover {
    NSAppearance *appearance = [NSAppearance 
appearanceNamed:NSAppearanceNameAqua];
    popover.appearance = appearance;
}

Is this possible? I have custom controls on my NSPopover and vibrancy makes the 
popover look awful.

Thanks,
Gavin
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to