Skip navigation.
 
mlRe: Adjusting NSTableView row height for custom fonts
FROM : Ryan Stevens
DATE : Fri Jan 11 22:37:02 2002

int textHeight = [yourAttributedString size].height;

[yourTableView setRowHeight: textHeight];

This seems to produce pretty reasonable (and consistent) results.

HTH! :-)

On Thursday, January 10, 2002, at 11:57 PM, Matt Judy wrote:

> I tried the approach of using an NSAttributedString, and it does
> exactly the same thing... I've attached a partial screenshot.  Any
> ideas?
>
> --Matt Judy
>



Related mailsAuthorDate
mlAdjusting NSTableView row height for custom fonts Matt Judy Jan 10, 18:57
mlRe: Adjusting NSTableView row height for custom fonts Ryan Stevens Jan 10, 19:05
mlRe: Adjusting NSTableView row height for custom fonts Bartsch, Alec Jan 10, 19:34
mlRe: Adjusting NSTableView row height for custom fonts Matt Judy Jan 10, 23:59
mlRe: Adjusting NSTableView row height for custom fonts Ryan Stevens Jan 11, 22:37