On Feb 26, 2012, at 8:13 PM, John Brownie wrote:

> I'm rewriting an existing Carbon application with Cocoa, and am working on 
> the preferences. One preference that the user should be able to set is a 
> default font and size for text display. In the Carbon app, there is a pop-up 
> button with a font menu, and a combo box for the size. This doesn't seem to 
> be the way to do it in Cocoa, as getting a font menu pop-up is not a standard 
> thing as it was in Carbon.
> 
> So, what is the preferred way to present such a preference option?

IMHO your best option is to use 1 or 2 selectable, non-editable text fields to 
display the font name and size, and a standard button to bring up a font panel 
for choosing the font and size. The Xcode button-within-a-text-field thing is 
just goofy to me.
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to