NSTextField black outline, not drawing in background thread when in a custom NSControl?
NSTextField black outline, not drawing in background thread when in a custom NSControl?
- Subject: NSTextField black outline, not drawing in background thread when in a custom NSControl?
- From: aaron smith <email@hidden>
- Date: Sun, 20 Sep 2009 01:25:23 -0700
Hey All - quick question,
I have a custom search NSControl that I attach an NSTextField onto. I
can't figure out why the NSTextField isn't drawing like normal (cursor
blink), the cursor is solid black. My control overrides some mouse
methods as I change parts of the control when mouse over etc. The
thing I noticed is that when I mouse over and mouse out really quickly
the NSTextField is drawing like it normally should (blink cursor). So
I was wondering if I'm supposed to somehow have this NSTextField to
draw continuously from a different thread?
The other question I have is about a black 1px border. I can't get rid
of the darn thing. I've read the docs for NSTextField and I've tried a
combination of:
[searchField setBordered:false];
[searchField setDrawsBackground:false];
[searchField setBezeled:false];
Even when setting all those to false, I still get this 1px black border.
Any ideas?
Thanks
_______________________________________________
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