Re: NSTextField drawing over itself?
Re: NSTextField drawing over itself?
- Subject: Re: NSTextField drawing over itself?
- From: Ivan Kourtev <email@hidden>
- Date: Sat, 30 Sep 2006 13:19:06 -0400
On 30 sep 2006, at 17.36, Ivan Kourtev wrote:
The text field in the main window works just fine but the text
field in the second window overwrites itself.
What is causing this behavior of a text field overwriting itself?
I tried everything that I could come up with and the only solution
I found was to enable the "Draw" switch for the background color
of the text field. What (if anything) am I doing wrong?
Are you by any chance setting these values from a non-main thread?
<http://developer.apple.com/documentation/Cocoa/Conceptual/
Multithreading/index.html>
Nope, so far I only have one (the main) thread in my app.
If I move the button from the second window into the main window then
I get the normal behavior (no need to draw button background). Does
this make any sense? I cannot explain it.
-- ivan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden