NSTextTable column width calculations?
NSTextTable column width calculations?
- Subject: NSTextTable column width calculations?
- From: Kai BrĂ¼ning <email@hidden>
- Date: Fri, 5 Oct 2007 11:47:24 +0200
Hi,
I am using an NSTextTable to display (and edit) some tabular data.
The nature of this data calls for some columns to adjust their width
to the maximum width of the unwrapped text contained in any cell of
these columns, while other columns just use what's left over.
Programmatically controlling column width is no big deal (by setting
the width of all NSTextTableBlocks of that column), but what is the
best way to first determine the maximum width of any text in that
column?
And as a side question, what is the meaning of
NSTextTableLayoutAlgorithm, which can be set to
NSTextTableAutomaticLayoutAlgorithm or
NSTextTableFixedLayoutAlgorithm? May this help me with my task in any
way?
Thanks in advance
Kai
_______________________________________________
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