Quincey, Brian and Graham,

I tried one last time, setting my toolbar in pure code. I started from the 
SimpleToolbar sample that comes with the XCode tools. And it works! There's a 
remaining bug: the label positions are wrong in the toolbar customization 
palette.

The code is here: http://www.donadio.com.br/cocoa/SimpleToolbar.zip

The NSToolbarItemGroup Class Reference is right, but could have some images to 
make it clearer.


Cheers,
Flavio

On 05/05/2010, at 16:03, Brian Postow wrote:

> On May 5, 2010, at 2:57 PM, Flavio Donadio wrote:
> 
>> I am sure a lot of people think it is a NSSegmentedControl. Is there a way 
>> to know this for sure? I mean, you seem to really know it, but how did you 
>> do?
>> 
> 
> the way to tell is to look in the preview.app package and see that there are 
> parts of the buttons laying around as explicit separate files... 
_______________________________________________

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

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

Reply via email to