Re: Lining up NSViews in NSScrollView
Re: Lining up NSViews in NSScrollView
- Subject: Re: Lining up NSViews in NSScrollView
- From: Michael Marmarou <email@hidden>
- Date: Mon, 21 Feb 2005 15:00:12 -0500
Wel, this has kind of strayed away from my original topic, which was
really how to draw in a NSTextView. I had heard that it was in the
2003 WWDC cocoa tips session, but i didn't attend that session, and
don't have my dvd's anymore. My suggestion was to use overlapping
views. Is this the best way?
On Mon, 21 Feb 2005 09:39:43 -0800, daniel <email@hidden> wrote:
> Interesting - I hadn't seen this. It does give weight to your
> proposition - I apologize for being indignant.
>
> Now I am going to have to make sure all of my windows have
> "useOptimizedDrawing" set to YES...
>
> Daniel
>
> On Feb 21, 2005, at 4:10 AM, Ricky Sharp wrote:
>
> > For example, check out the docs on useOptimizedDrawing. By default,
> > the flag is set to NO. You should set it to yes if no subviews in the
> > window overlap. If views do overlap, and optimized drawing is set to
> > YES, you could end up in situations where the overlapping views are
> > drawn in reverse z-order. When the flag is set to NO, views are drawn
> > in their appropriate z-order.
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden