Positioning images in buttons?
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