It's probably a lot cleaner to build the attributed string

Envoyé de mon iPhone

> Le Sep 24, 2013 à 6:57 PM, Julian Nadeau <notifications@github.com> a écrit :
> 
> In Testasaurus Rex/Testasaurus Rex/View/TREXViewHelper.m:
> 
> >  		return TREXTestRunStatusUnknown;
> >  	}
> >  }
> >  
> > +/*
> > + This method was adapted from this SO question:
> > + http://stackoverflow.com/questions/4535697/draw-text-with-in-a-rect-with-given-width
> > + 
> > + Description: This approxiates the height for a text area/field based on the font and the width of the field.
> > +*/
> > ++ (CGFloat)heightForStringDrawing:(NSString*)string withFont:(NSFont*)font withWidth:(CGFloat)width
> I'm a little confused at that code snippet. And I do not have attributed strings, normal strings only...
> 
> —
> Reply to this email directly or view it on GitHub.