Re: How to fill rectangle under vertical scroller?
Re: How to fill rectangle under vertical scroller?
- Subject: Re: How to fill rectangle under vertical scroller?
- From: Sumin Kim <email@hidden>
- Date: Fri, 19 Jun 2009 11:23:40 +0900
>
>
>
> You need to place a view here and do the custom drawing in the view. To
> place the view, you need to subclass NSScrollView and override the -tile
> method to place the view in that corner. The scrollview subclass will also
> typically own the custom view.
>
> Here's an example from the archives that will do what you want:
>
> http://www.cocoabuilder.com/archive/message/cocoa/2001/6/29/21070
>
> --Graham
>
>
>
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?
_______________________________________________
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