Hi,

I've just implemented an NSSearchField control with autocomplete using the delegate method control:textView:completions:forPartialWordRange:indexOfSelectedItem:

It appears that the popup list of autocomplete candidate strings always pops up below the NSSearchField, even if the search field is very close to the bottom of the screen. Popups for NSPopupButtons or contextual menus adjust their position in these circumstances, so that they appear above their base position to maximize their visibility. The autocomplete list quite happily pops up completely off screen - but I'd like to provide a better user experience than that.

Is there a way to control the position or appearance of an autocomplete popup? I've noticed that autocompletion in Xcode does the right thing - is anyone able to suggest how this could be achieved?

Thanks,
Dave Robertson
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to