• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Text Caret -- Focus Ring Interference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Deciding whether text should be black or white for a given background color
  • Next by Date: Cocoa class for expanding .zip files
  • Previous by thread: Fwd: Window menu not displaying open windows?
  • Next by thread: RE: Text Caret -- Focus Ring Interference
  • Index(es):
    • Date
    • Thread