• 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: How to fill rectangle under vertical scroller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fill rectangle under vertical scroller?


  • Subject: Re: How to fill rectangle under vertical scroller?
  • From: Chris Suter <email@hidden>
  • Date: Mon, 22 Jun 2009 19:34:22 +1000

Hi Quincey,

On Mon, Jun 22, 2009 at 2:33 PM, Quincey
Morris<email@hidden> wrote:

> FWIW, the small "gotcha" in the sample code you linked to (AFAICT, since I
> never tried it) is that it places the "placard" in the area normally
> occupied by a scroll bar. The corner rect that the OP wants to draw is
> slightly different, in that the NSScrollView deliberately draws white in
> that corner, unless it's set to not draw a background at all. That means the
> linked-to code may not be quite complete -- it may also be necessary to
> ensure that the custom corner view draws above and/or after the scroll view,
> or else it may get painted over.

Subviews are always drawn after the parent (for obvious reasons if you
think about it), so if I correctly understand the point you're trying
to make, there won't be a problem.

Regards,

Chris
_______________________________________________

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: 
 >How to fill rectangle under vertical scroller? (From: Sumin Kim <email@hidden>)
 >Re: How to fill rectangle under vertical scroller? (From: Graham Cox <email@hidden>)
 >Re: How to fill rectangle under vertical scroller? (From: Sumin Kim <email@hidden>)
 >Re: How to fill rectangle under vertical scroller? (From: Graham Cox <email@hidden>)
 >Re: How to fill rectangle under vertical scroller? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Approaches for this Matching Problem?
  • Next by Date: Search field in ABPeoplePickerView.
  • Previous by thread: Re: How to fill rectangle under vertical scroller?
  • Next by thread: Re: How to fill rectangle under vertical scroller?
  • Index(es):
    • Date
    • Thread