> On Mar 27, 2016, at 8:37 PM, Christian Schmitz
> <[email protected]> wrote:
>
>
>> 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.
>>
>
> Oh. Apple changed it from an enum to the object.
>
> Let me send you a new plugin.
>
> I extended NSAppearanceMBS.setAppearance to accept NSPopover, too. Please try.
Hi Christian,
Thanks for your speedy reply. I tried the new plugin but no success yet, am I
doing something stupid?
1. This doesn’t have any effect:
dim noVibrancy as NSAppearanceMBS =
NSAppearanceMBS.appearanceNamed("NSAppearanceMBSAqua")
NSAppearanceMBS.setAppearance(pvrStatus, noVibrancy) // pvrStatus is the
NSPopoverMBS
2. I also tried this:
// This gives a “There is more than one item with this name and it’s
not clear to which this refers” error
pvrStatus.appearance = NSAppearanceMBS.NSAppearanceNameAqua
I tried a quick test in Xcode with the equivalent code and it works fine.
Thanks for any ideas.
Gavin
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info