• 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: "Hamish Allan" <email@hidden>
  • Date: Fri, 28 Mar 2008 01:52:56 +0000

On Fri, Mar 28, 2008 at 1:17 AM,  <email@hidden> wrote:

>  The white part above the slot is by
>  default black, but here I made it white by filling the rect returned
>  by calling [self rectForPart:NSScrollerNoParts].

[self rectForPart:NSScrollerNoPart] simply returns a rect in the
scroller where a click will have no effect. Those pixels are, however,
part of the slot.

Hamish
_______________________________________________

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

References: 
 >NSScroller question (From: email@hidden)
 >Re: NSScroller question (From: Troy Stephens <email@hidden>)
 >Re: NSScroller question (From: email@hidden)
 >Re: NSScroller question (From: Troy Stephens <email@hidden>)
 >Re: NSScroller question (From: email@hidden)

  • Prev by Date: Re: error strings in NSPropertyListSerialization
  • Next by Date: Re: CGContextReplacePathWithStrokedPath problem?
  • Previous by thread: Re: NSScroller question
  • Next by thread: Re: NSScroller question
  • Index(es):
    • Date
    • Thread