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: NSColorWell shows no color




On 30 Dec 2008, at 10:09 pm, tobias assmann wrote:

I changed the place of the initialization now. Still no difference.. The colors are valid. I checked this and also tried with predefined colors like [NSColor greenColor]. It seems a very strange problem to me. So am I right if I think, the colors should be drawn after they are set? Would make sense I my opinion.


Yes, they should immediately show the set colour with no further work on your part.

Clearly something else is wrong. Did you set up the interface in code or in IB? Usually when colour wells are created in IB they default to blue. If yours are white then it looks as if something is setting them, and white is suspicious because it's all 1's.

You need to post more code or go through it closely in the debugger.

--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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSColorWell shows no color (From: tobias assmann <email@hidden>)
 >Re: NSColorWell shows no color (From: Quincey Morris <email@hidden>)
 >RE: RE: NSColorWell shows no color (From: tobias assmann <email@hidden>)
 >Re: NSColorWell shows no color (From: Graham Cox <email@hidden>)
 >RE: NSColorWell shows no color (From: tobias assmann <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.