• 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: NSScrollView: iPhoto/iTunes border type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSScrollView: iPhoto/iTunes border type?
      • From: Stephane Sudre <email@hidden>
References: 
 >NSScrollView: iPhoto/iTunes border type? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Problem with converting an NSImage to grayscale
  • Next by Date: Re: Problem with converting an NSImage to grayscale
  • Previous by thread: NSScrollView: iPhoto/iTunes border type?
  • Next by thread: Re: NSScrollView: iPhoto/iTunes border type?
  • Index(es):
    • Date
    • Thread