• 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
Pin NSScrollView documentView to Upper Left AND Pin Scrolling to Upper left
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pin NSScrollView documentView to Upper Left AND Pin Scrolling to Upper left


  • Subject: Pin NSScrollView documentView to Upper Left AND Pin Scrolling to Upper left
  • From: Keary Suska <email@hidden>
  • Date: Sat, 4 Sep 2010 11:25:07 -0600

I am trying to have NSScrollView behavior similar to, well, every other implementation of a view in an NSScrollView (e.g. NSTextView, NSTableView, etc.).

Pinning my view to the upper left is easy using the view-within-an-isFlipped-view, but when the NSScrollView is resized, the "visible point" is pinned to the lower right. This seems to be due to the flipped contentView.

Notes: 10.4 only; final document view must be an IB-built view/no custom drawing needed or wanted.

I can't find any info on handling proper resizing. Any assistance/leads are appreciated...

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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

  • Follow-Ups:
    • Re: Pin NSScrollView documentView to Upper Left AND Pin Scrolling to Upper left
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Fixed pattern with colorWithPatternImage
  • Next by Date: Re: Fixed pattern with colorWithPatternImage
  • Previous by thread: Re: Un-mounting of first DMG is taking 15secs
  • Next by thread: Re: Pin NSScrollView documentView to Upper Left AND Pin Scrolling to Upper left
  • Index(es):
    • Date
    • Thread