RE: [Q] How to frame NSTableView and NSOutlineView?
RE: [Q] How to frame NSTableView and NSOutlineView?
- Subject: RE: [Q] How to frame NSTableView and NSOutlineView?
- From: "Cristian Savu" <email@hidden>
- Date: Wed, 24 Jul 2002 09:06:03 +0300
>
Now, one good answer leads to yet another question (sorry) :-)
>
>
Do you know what controls the focus ring's color?
>
Is it a user-controlled preference?
>
Or can I control that somehow?
>
I think the focus ring gets his colour from system. It would be nice to
know how does that. There must be a function or something for this. Anyone
knows ?
If you change the preffered OS X colour (Aqua or Graphite) the focus ring
colour will change.
But, if you want, you can write your own MJFocusScrollView class :) capable
to
change the focusRing colour.
It is easy!
if (shouldDrawFocusRing)
{
//draw custom ring using NSBezierPath (or whatever you want)
}
Regards,
Cristian
_______________________________________________
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.