• 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
NSScrollView Tiger v Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSScrollView Tiger v Leopard
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Is there any mirroring in the Cocoa UI ?
  • Next by Date: Strange behaviour UITableView
  • Previous by thread: Re: Is there any mirroring in the Cocoa UI ?
  • Next by thread: Re: NSScrollView Tiger v Leopard
  • Index(es):
    • Date
    • Thread