• 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: Quincey Morris <email@hidden>
  • Date: Thu, 18 Jun 2009 20:22:37 -0700

On Jun 18, 2009, at 19:23, Sumin Kim wrote:

Thanks for your information. I read your linked article, and tried to do the
same thing. But, I am still in the problem.
Where I want to draw a color is the area under vertical scroller but for the
some reason, it seems that my new view is drawn at top of the vertical
scroller. the area under the vertical scroller and right to horizontal
scroller still remains white. I tried to set different origin and frame size
for the view that is supposed to be drawn the area, but the results have not
changed.


I just want to change the color of this area.
How can I?

Did you try [scrollView setDrawsBackground: NO]?

The area you want to draw is normally filled with white by the scroll view, and that's probably drawing over the top of your custom view. If you tell the scroll view not to draw its background, your view should show through.

If it still doesn't show up, you'll need to actually debug your code. Is your view in the right place in the window? If so, is it hidden? If not, is it being drawn underneath something else? You'll need to look for an answer, instead of just coming back to this list and complaining that your code doesn't work.


_______________________________________________

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>)

  • Prev by Date: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Next by Date: Re: Incompatible managed object model versions
  • 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