Font panel accessory view problem
Font panel accessory view problem
- Subject: Font panel accessory view problem
- From: Graham Cox <email@hidden>
- Date: Fri, 19 Nov 2010 11:25:53 +1100
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 (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