• 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: NSScroller question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScroller question


  • Subject: Re: NSScroller question
  • From: email@hidden
  • Date: Fri, 28 Mar 2008 00:26:57 +0100

Thanks, but the corner view is the right side corner of the header
view, right? I was talking about the small view just below it, on top
of the vertical slider and part of the slider itself. It's a tiny view
of about 2 pixels height. I believe it corresponds to
NSScrollerNoPart, but I'm not sure.

On Thu, Mar 27, 2008 at 9:53 PM, Troy Stephens <email@hidden> wrote:
>
> On Mar 27, 2008, at 9:50 AM, email@hidden wrote:
>  > Hi,
>  >
>  > NSScroller has a small view, by default two pixels high, just above
>  > the scroller and below the NSTableHeaderView's corner view. How can I
>  > get at this view? If you look at the XCode interface you can see they
>  > have put an icon in this view (the one that splits the editor view)
>  > and made it larger. I would like to remove the view completely so the
>  > scroller goes all the way up to the edge of the corner view.
>  >
>  > This question has been addressed before in the archives, but
>  > unfortunately the link pointing to an answer is no longer valid.
>  >
>  > Thanks.
>  > F.
>
>  See NSTableView.h:
>
>  /* Get and set the cornerView. The cornerView is the view that appears
>  directly to the right of the headerView above the vertical NSScroller.
>  The scroller must be present for the cornerView to be shown. Calling -
>  setCornerView: may have the side effect of tiling the
>  enclosingScrollView to accomodate the size change. The default value
>  is an internal class that properly fills in the corner.
>   */
>  - (void)setCornerView:(NSView *)cornerView;
>  - (NSView *)cornerView;
>
>  --
>  Troy Stephens
>  Cocoa Frameworks
>  Apple, Inc.
>
>
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSScroller question
      • From: Troy Stephens <email@hidden>
References: 
 >NSScroller question (From: email@hidden)
 >Re: NSScroller question (From: Troy Stephens <email@hidden>)

  • Prev by Date: Is @"constantstring" pointer equal to @"constantstring" a guarantee?
  • Next by Date: Re: Is @"constantstring" pointer equal to @"constantstring" a guarantee?
  • Previous by thread: Re: NSScroller question
  • Next by thread: Re: NSScroller question
  • Index(es):
    • Date
    • Thread