Re: DocumentView top aligned
Re: DocumentView top aligned
- Subject: Re: DocumentView top aligned
- From: Robbie Haertel <email@hidden>
- Date: Wed, 22 Dec 2004 11:46:04 -0700
This is just a shot in the dark, but what about isFlipped for the
NSScrollerView? I really don't know much about scroll views, but I'm
surprised no one has answered you yet because it seems like a
relatively easy task (and it seems to me that most of AppKit's views
do what you are wanting to do, unless of course I misunderstood).
Robbie
On Sun, 19 Dec 2004 15:46:54 +0100, Lorenzo <email@hidden> wrote:
> Hi,
> I set the documentView of an NSScrollerView
>
> [scrollView setDocumentView:myView];
>
> then I see myView always aligned to the bottom margin, no matter which
> autoresizing mask I set. Instead I wat it always aligned to the top.
> I tried to subclass myView and return isFlipped YES, but this way I see the
> objects in myView drawn with an flipped Y coordinate. And this is not what I
> want.
>
> Any idea? Should I use 2 nested document views?
>
> Best Regards
> --
> Lorenzo
> email: email@hidden
>
> _______________________________________________
> 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
>
_______________________________________________
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