• 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
Centering scrollRowToVisible on NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Centering scrollRowToVisible on NSTableView


  • Subject: Centering scrollRowToVisible on NSTableView
  • From: Tony P <email@hidden>
  • Date: Thu, 1 Apr 2010 13:50:38 +0100

I'm trying to vertically center a NSTableView row (variable height) using scrollRowToVisible. The default behaviour seems to be displaying at the next-to-last row within the view. After much research, the only way I can see to do this is to calculate row heights for subsequent rows and adjust the call to scrollRowToVisible accordingly. However, I've got a feeling that there might be something much simpler?

Tony Pollard

_______________________________________________

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: Adding Rows to a Table View
  • Next by Date: Re: User Experience, Bring App Window back when Clicking Dock Icon
  • Previous by thread: Re: User interface like iPhone home screen......
  • Next by thread: performSelector:onThread:withObject:waitUntilDone:' not found in protocol(s)
  • Index(es):
    • Date
    • Thread