Text Caret -- Focus Ring Interference
Text Caret -- Focus Ring Interference
- Subject: Text Caret -- Focus Ring Interference
- From: Joel Norvell <email@hidden>
- Date: Mon, 4 Dec 2006 13:17:06 -0800 (PST)
Dear Cocoa-dev People,
I've been able to solve a number of FocusRing issues, thanks largely to the
Cocoa-dev archives. But one niggling problem remains. When the size of the
NSTextField with focus is "too small," its blinking text caret still distorts
the focus ring. (Note that setKeyboardFocusRingNeedsDisplayInRect is being
called through textDidChange which does solve the larger problem of focus ring
smudging.)
These seem like my options:
1. Shrink the size of the text caret; but I don't believe this is possible.
2. Expand the item with focus, so its interior can accomodate the caret.
3. Call setKeyboardFocusRingNeedsDisplayInRect each time the caret is redrawn,
but I have no idea how to do this.
Is there something I haven't thought of? What should I do?
Sincerely,
Joel
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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