Setting the position of a NSScrollView
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