• 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
Setting the position of a NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the position of a NSScrollView


  • Subject: Setting the position of a NSScrollView
  • From: Dave <email@hidden>
  • Date: Wed, 09 Sep 2015 21:36:48 +0100

Hi All,

I’m using the code below to set the position of a Scroll View:

NSPoint pt = NSMakePoint(0,[[self.pValidationIssueScrollView documentView] bounds].size.height);
[[self.pValidationIssueScrollView documentView] scrollPoint:pt];

However it doesn’t seem to do anything. The Clip View of the NSScrollView is Flipped, does this make a difference? Also there is an NSStackView inside the Clip View.

Any ideas why this is not working?

Thanks a lot for any help,
Dave


_______________________________________________

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


  • Prev by Date: Re: Handling close with multiple document windows
  • Next by Date: Setting the position of a NSScrollView
  • Previous by thread: Re: Auto Layout Log Warning Message
  • Next by thread: Setting the position of a NSScrollView
  • Index(es):
    • Date
    • Thread