• 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
NSTableView horiz scrollbar doesn't take into account last table column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView horiz scrollbar doesn't take into account last table column


  • Subject: NSTableView horiz scrollbar doesn't take into account last table column
  • From: John Michael Zorko <email@hidden>
  • Date: Tue, 23 Dec 2008 11:55:05 -0800


Hello, all ...

I'm on 10.5.5, and i've code that shows a table with two columns. In IB, vert and horiz scrollbars are enabled, but when the applications runs, the horiz scroller only appears when I size the window such that the first table column is partially shown. The horiz scroller doesn't appear at all if the first table column is completely shown and the second is not.

The issue is that the second columns' constraints are set in IB, not in code. What I would like to do is go through the columns' entries, find the longest one, and set the horiz scroller to scroll based on that. How do I do this in Cocoa?

Regards,

John


_______________________________________________

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: Configuring NSNumberFormatter non-programmatically
  • Next by Date: Re: Custom Executable / NSTask / NSPipe...
  • Previous by thread: Re: Saving unseen NSView with subviews to NSImage
  • Next by thread: .DS_Store files, dirContentsAtPath? (newb)
  • Index(es):
    • Date
    • Thread