On 25 Nov 2011, at 7:45 AM, David Mirabito wrote:

> I am trying to place an InvalidData icon next to offending input elements 
> (popup menus, text fields, etc). I calculate the position of the new 
> NSImageVIew based on the frame of the UI element. Keep it's vertical 
> placement, and shift the icon to the left if it, plus a small constant 
> spacing amount, and make square.

Also, audit your call to -[NSImageView setImageAlignment:] (which you omit) to 
see if it places your image in the annotation view where you want it.

        — F

_______________________________________________

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