Re: Emulating Carbon menu bevel button?
Re: Emulating Carbon menu bevel button?
- Subject: Re: Emulating Carbon menu bevel button?
- From: Jo Meder <email@hidden>
- Date: Mon, 25 May 2009 21:42:14 +1200
Hi Kyle,
On 25/05/2009, at 8:52 PM, Kyle Sluder wrote:
On Mon, May 25, 2009 at 1:43 AM, Jo Meder <email@hidden> wrote:
- The arrow used by the Cocoa control is really big and it doesn't
seem like
it can be placed in the same way, for example bottom right, facing
right.
Shouldn't this be bottom-right, facing down as per the HIG?
I can go with that, although it has been a choice to have the menu on
the right with the arrow bottom right facing right for a long time on
Carbon. It's been the option I've used most, but I'm happy to go the
other way now it seems to be the only one endorsed in the HIG. The
arrow is still really big though.
- The control seems to want to use the image and/or text from the
first menu
item as its image and label. That's really a nuisance.
This is just how things work in Cocoa land. I guess the only thing to
say is Deal With It(TM).
That's what I'm doing, by emulating the Carbon control. I think this
is a deficiency in Cocoa, I don't see how it's possible implement the
bevel button with a popup menu as shown in the HIG, where the button
represents the menu title and always displays the same image. The
Carbon control is a very useful one which I've been using for over a
decade I suppose. I was just interested to know if anyone else had
done this and what approach they took.
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