RE: NSScrollView: iPhoto/iTunes border type?
RE: NSScrollView: iPhoto/iTunes border type?
- Subject: RE: NSScrollView: iPhoto/iTunes border type?
- From: "Christopher Hickman" <email@hidden>
- Date: Tue, 30 Aug 2005 10:57:42 -0400
Is the XBorderedView class on this page
<http://www.cocoadev.com/index.pl?NSTableViewBezeledBorder> what you are
looking for? It is an NSView subclass that you put your scroll view inside.
This view provides the beveled look like iTunes.
-----Original Message-----
From: cocoa-dev-bounces+tophu=email@hidden
[mailto:cocoa-dev-bounces+tophu=email@hidden] On Behalf Of
Stephane Sudre
Sent: Tuesday, August 30, 2005 10:05 AM
To: Cocoa Mailing List
Subject: NSScrollView: iPhoto/iTunes border type?
IS there a way to make the border type of a NSScrollView look like the
one in iTunes or iPhoto?
I tried subclassing NSScrollView but I can't draw the correct border
because the border width is never wide enough.
I dumped the NSScrollView AppKit API but did not find any obvious
hidden API which might allow me to set a specific border width.
I tried changing the contentView frame of the NSScrollView just in
case. It didn't work, of course.
I suppose it's easier to do this when you have access to the
NSScrollView source code...
Otherwise, is there a solution which does not involve playing with a
parent or child view?
_______________________________________________
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
_______________________________________________
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