I'm adding an accessory view to the font panel which includes some NSColorWells.

The problem I'm having is that if the standard 'text colour' button is clicked, 
it links the Color Panel to the Font Panel in a way that is not friendly to 
standard colour wells - once the connection is established, clicking a standard 
colour well doesn't disconnect it. I end up with the Color Panel driving two 
colour properties simultaneously - the standard text colour plus the extra one 
I'm setting from the accessory view.

Is there a supported way to disconnect the Color Panel from the Font Panel's 
text colour button? It's actually unclear how the font panel works with respect 
to the text colour, so I'm not even sure what to try. The standard colour 
button is weird in that just a button - it doesn't have a state indication to 
show that it's active or selected, like a color well. This sort of ad-hoc UI 
makes it hard to customise the Font Panel.

--Graham


_______________________________________________

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