Reputation: 1874
I' ve an NSPopover
where i put my own NSView
subclass to customize his content. I used an empty view with only a subview to have a "bar" on the top. The problem is that the NSPopover
seems to have a sort of border all around itself and I've this ugly effect. Anyone have an idea how to fix that? Thanks
Upvotes: 2
Views: 680
Reputation: 910
This is an old question, but I just ran into the same issue.
If you are targeting OS X 10.10 or later you can just write:
popover = NSPopover()
popover.appearance = NSAppearance(named: "NSAppearanceNameAqua")
This should kill the border.
Upvotes: 0