• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Placing an Image next to a UI element
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Placing an Image next to a UI element


  • Subject: Re: Placing an Image next to a UI element
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 25 Nov 2011 11:55:15 -0600

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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Placing an Image next to a UI element (From: David Mirabito <email@hidden>)

  • Prev by Date: Re: Placing an Image next to a UI element
  • Next by Date: Lexical or Preprocessor Issue 'Cocoa/Cocoa.h file not found
  • Previous by thread: Re: Placing an Image next to a UI element
  • Next by thread: Lexical or Preprocessor Issue 'Cocoa/Cocoa.h file not found
  • Index(es):
    • Date
    • Thread