• 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
Positioning images in buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Positioning images in buttons?


  • Subject: Positioning images in buttons?
  • From: Jo Meder <email@hidden>
  • Date: Mon, 25 May 2009 14:00:00 +1200

Hi,

In Carbon there is a lot of control over the placement of images in bevel buttons particularly, through SetBevelButtonGraphicAlignment(). You have good control over the initial positioning of the image and you can also specify offsets from those initial positions to fine tune placements.

In Cocoa the choices seem far more limited. You only seem to be able to control the image position in buttons via -setImagePosition, and these only correspond to where the image is related to the button text ( i.e. Carbon SetBevelButtonTextAlignment() ).

Am I missing finer detail controls for image positioning in Cocoa buttons somewhere? I have a sneaking suspicion that if I want the same functionality as Carbon I'm going to have to implement it myself.

I'm supporting 10.4 and up.

Regards,

Jo Meder
_______________________________________________

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


  • Prev by Date: Re: Core Data and ordered to-many relations
  • Next by Date: Re: Core Data and ordered to-many relations
  • Previous by thread: Re: Emulating Carbon menu bevel button?
  • Next by thread: Header Differences
  • Index(es):
    • Date
    • Thread