NSScrollView Tiger v Leopard
NSScrollView Tiger v Leopard
- Subject: NSScrollView Tiger v Leopard
- From: David Blanton <email@hidden>
- Date: Wed, 21 Jan 2009 09:48:50 -0700
Given an NSMatrix enclosing scroll view, _browserScrollView
Given an NSTableView enclosing scroll view, _tableScrollView
Add _tableScrollView to _browserScrollView
[_browserScrollView addSubview:_tableScrollView];
When the user switches from NSMatrix to NSTableView run this code:
[_tableScrollView setFrame:[_browserScrollView frame]];
[_tableScrollView setHidden:NO];
[_tableScrollView setNeedsDisplay:YES];
[_tableView reloadData];
On Tiger it works as I expect.
On Leopard the Thumb of the vertical scroll bar does not move.
The table can be scrolled by line / page up / down.
So, what am I doing that works in Tiger but not in Leopard?
David Blanton
_______________________________________________
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