• 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
Issues with auto-resizing table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues with auto-resizing table view


  • Subject: Issues with auto-resizing table view
  • From: Ben Kazez <email@hidden>
  • Date: Thu, 19 Jan 2006 19:44:51 -0600

I'm trying to create a table view, like the iTunes Source list, that is in a split view and that autoresizes its single column to fit in the available width. I set the resizing mode to Uniform in IB, but I'm running into two problems that I'm hoping someone can help with:

1. The uniform auto-resizing doesn't "kick in" until you make the table view narrow enough so the right edge of the table view touches the right edge of the column.

2. Thereafter, the uniform auto-resizing works but isn't completely live -- that is, I have to wait a bit every time I move the split view's divider.

I do use a few split view delegate methods (subview collapsing, min/ max coordinate constraints, and - splitView:resizeSubviewsWithOldSize:), and I subclassed NSSplitView to record the subview sizes prior to each resize. But since everything else is working in the split view, I think these probably aren't the cause of the problem.

Any ideas on either of the issues above? I'm probably overlooking something simple.

Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: NSApplication terminate: behavior
  • Next by Date: Re: Two questions about NSCalendar
  • Previous by thread: Re: NSApplication terminate: behavior
  • Next by thread: Re: Issues with auto-resizing table view
  • Index(es):
    • Date
    • Thread