• 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
Re: focus ring not going away
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: focus ring not going away


  • Subject: Re: focus ring not going away
  • From: Brock Brandenberg <email@hidden>
  • Date: Sun, 13 Apr 2003 22:58:47 -0500

> After I did this the focus ring started going crazy and getting super
> thick. After much testing/debugging/etc. I figure out that what was
> happening was that the area outside the textfield's bounds was not
> being cleared after every redraw, and thus this area had the ring on it
> several times, giving the appearance of a thicker ring. Now, when I
> click away from the textfield the ring goes away completely. Why is it
> that when I call setNeedsDisplay it isn't cleared for me?

Look at NSView's setKeyboardFocusRingNeedsDisplayInRect: for inspiration :)

Brock Brandenberg

----- industrial design @ www.bergdesign.com ------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Inconsistent Memory Management Rules
  • Next by Date: Re: Inconsistent Memory Management Rules
  • Previous by thread: Re: focus ring not going away
  • Next by thread: about install_name_tool
  • Index(es):
    • Date
    • Thread