• 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
Positioning document within gray area of a scroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Positioning document within gray area of a scroller


  • Subject: Positioning document within gray area of a scroller
  • From: Development <email@hidden>
  • Date: Sun, 28 Jun 2009 17:28:42 -0400

We are working on a document based application which displays the document view within a scroller area. Like most similar programs, the user can zoom in and out off the document (ie. we change the view size of the document view). If he zooms out enough, our document view becomes smaller then the area that the scroller encloses. No problems so far. The scroll view draws a grey region outside the area of our document region, and everything works fine. We do not have to code any of this. However, our now small document view is pinned to the lower left of area being shown by the scroller view, instead of the upper left.

Has anyone been able to program this?

We asked this question at WWDC, and stumped several of the engineers. We have tried all sorts of variations of configuration under Interface Builder. We have set the isFlipped: method to different to change where the origin is, and nothing seems to work. I know people have asked this question here before, but there has never been a good answer.

Our client is insisting that the document view should pin to the upper left hand corner. This is the way Mac applications did it under OS 9.

As always, if we find the answer, we will post it here, but for such a simple issue, this one has been driving us crazy.

Thank you,

Steve Sheets
_______________________________________________

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: Positioning document within gray area of a scroller
      • From: Graham Cox <email@hidden>
    • Re: Positioning document within gray area of a scroller
      • From: Quincey Morris <email@hidden>
    • Re: Positioning document within gray area of a scroller
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Placement of window using interface builder on different size displays
  • Next by Date: Re: Interface Builder Questions...
  • Previous by thread: Re: SOLUTION Placement of window using interface builder on different size displays
  • Next by thread: Re: Positioning document within gray area of a scroller
  • Index(es):
    • Date
    • Thread