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
make sense I my opinion.
Tobias
Von: Graham Cox
An: tobias assmann
CC: cocoa-dev@lists.apple.com
Gesendet: Dienstag, den 30. Dezember 2008, 11:48:51 Uhr
Betreff: Re: NSColorWell shows no color
On 30 Dec 2008, at 9:40 pm, tobias assmann wrote:
> I know
On 30 Dec 2008, at 9:40 pm, tobias assmann wrote:
I know it is an unusual place for setting the color.
It's not unusual, it's wrong.
When the colour well's setColor: method is called, one thing it will
do is invalidate itself by calling setNeedsDisplay: which will cause
drawRect: to get
Von: Quincey Morris
An: cocoa-dev@lists.apple.com
Gesendet: Dienstag, den 30. Dezember 2008, 07:53:43 Uhr
Betreff: Re: NSColorWell shows no color
On Dec 27, 2008, at 02:13, tobias assmann wrote:
> I use some NSColorWell objects in a preference section of my view. User can
>
On Dec 27, 2008, at 02:13, tobias assmann wrote:
I use some NSColorWell objects in a preference section of my view.
User can chosse so me colors there. All works fine exept one thing.
The NSColorWell objects are initialized with default values out of a
NSColorList when the UI is opened. But