• 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
Newbie scroll view problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie scroll view problem


  • Subject: Newbie scroll view problem
  • From: Andy Bettis <email@hidden>
  • Date: Thu, 18 Dec 2008 23:57:00 +0000

Hi,

In my app I have an NSScrollView that contains a simple NSView in which I add other NSView subclass objects. All works well until the window (and hence the scroller) is resized - making it smaller is OK but if it is made bigger than the original (IB) size my added views migrate down the window. I've tried adjusting the autosizing settings but to no avail.

I'm trying not to have to subclass the containing view, I just want the scroller to reveal more of it as it is enlarged while leaving my subviews aligned to the top left corner. Do I need to flip the coordinates to keep them up there? I'll probably end up limiting the maximum window size so the user can't make it too big but I'd like to know what's going on.

Any help, explanation or advice gratefully received.

Rev. Andy
_______________________________________________

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: Newbie scroll view problem
      • From: Graham Cox <email@hidden>
  • Prev by Date: Problem when userSpaceScaleFactor is not 1.0
  • Next by Date: Re: NSTableView cross-coupling rows when editing strings?
  • Previous by thread: Problem when userSpaceScaleFactor is not 1.0
  • Next by thread: Re: Newbie scroll view problem
  • Index(es):
    • Date
    • Thread