turning the focus ring off on 10.2
turning the focus ring off on 10.2
- Subject: turning the focus ring off on 10.2
- From: Edward Hillenbrand <email@hidden>
- Date: Tue, 9 Aug 2005 10:11:11 -0700
I've made a subclass of NSButton and placed it on a transparent
window, I have swapped the content view of the window with my own
NSView subclass. When the application runs, there are white lines
drawn around two of the button edges, these are outside of the
buttons frame rect. I quickly figured out that the only thing that
would draw outside of my button's frame rect is a focus ring. On
10.3 and above I can use setFocusRingType: to turn off the focus
ring, after that everything draws correctly, there are no white
lines. However, the application I'm working on targets 10.2 and I
don't want to stop supporting 10.2 because of a single method. Is
there away to turn the focus ring off on 10.2?
_______________________________________________
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