resizing table view programmatically
resizing table view programmatically
- Subject: resizing table view programmatically
- From: Daniel Child <email@hidden>
- Date: Thu, 25 Jun 2009 11:47:20 -0400
I would like to resize a table view programmatically. I will be
resizing based on the number of rows (which I know in advance), given
a fixed row height which I set myself.
I tried resizing the window's contentView and that did not work. I
know that a window, a scroll view, and a clip view are all involved,
and sizing all of these manually seems like the wrong approach.
What is the easiest way to get the window and table to resize based on
a calculated number of rows and fixed row height? Is there a simple
approach that avoids resizing each individual view?
Thanks.
_______________________________________________
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