10

I have a NSPopover on my app but i want to change the position of the arrow head.
What i have:
enter image description here


What i want:
enter image description here


As you can see in the second image the arrow head of the NSPopover is at the top. How can i do that?
my code:

[_popover showRelativeToRect:[sender bounds] ofView:sender preferredEdge:NSMaxXEdge];

Thank you!

4

1 に答える 1

10

Unfortunately, this isn't possible with NSPopover (as of 10.7). You'll have to use an alternative popover, such as the excellent SFBPopovers.

于 2012-05-26T14:17:54.803 に答える