Ah, I see. Then I recommend creating the label first with a frame of CGRectZero, and using its font property to do the text size calculation instead of creating a new font.

On Jan 29, 2014, at 1:11 PM, Wizecoder <notifications@github.com> wrote:

> In view_controllers/StopDetails/OBAGenericStopViewController.m:
> 
> > @@ -302,6 +302,31 @@ - (NSArray *)hintStateRectsToHint:(id)hintState {
> >      return @[ [NSValue valueWithCGRect:CGRectMake(297, 129, 30, 30)] ];
> >  }
> >  
> > +- (UIView *)hintStateViewForDialog:(id)hintState {
> > +    NSString *message = @"Tap here to view and submit more information about this stop with the new Stop Info service";
> > +    UIFont *ft = [UIFont fontWithName:@"Helvetica" size:17.0];
> The font is used for text size calculations
> 
> —
> Reply to this email directly or view it on GitHub.
>