FROM : Robbie Haertel
DATE : Wed Dec 22 19:46:04 2004
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_removed>> 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_removed>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/robbie.<email_removed>
>
> This email sent to robbie.<email_removed>
>
DATE : Wed Dec 22 19:46:04 2004
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_removed>> 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_removed>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/robbie.<email_removed>
>
> This email sent to robbie.<email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Lorenzo | Dec 19, 15:46 | |
| Robbie Haertel | Dec 22, 19:46 |






Cocoa mail archive

