• 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: DocumentView top aligned
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >DocumentView top aligned (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: arbitrary date formats based on user prefs
  • Next by Date: Re: Creating black and white image
  • Previous by thread: DocumentView top aligned
  • Next by thread: [OT] plist history?
  • Index(es):
    • Date
    • Thread