Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes like toolbar



Hi Alex,

On 2006-02-26, at 04:03, Aleaxander Cohen wrote:

I've been trying to implement an NSToolbar somewhat like the iTunes toolbar to no avail. [...] Any ideas how to implement this?

One idea that springs to mind is to use regular toolbar items for everything, and then make a large item in the middle (with a max width of infinity). Then you can have this item draw itself centered in the toolbar. It would be a flexible space that draws stuff.


You could make this nicer by making it a wrapper for a standard toolbar item, so you could make any item window-centered.



Jonathon Mah
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >iTunes like toolbar (From: Aleaxander Cohen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.