mattt/TTTAttributedLabel — Issue #58: `- (CGSize)sizeThatFits:(CGSize)size;` is ignoring textInsets
Author: tonyarnold
Created: 2012-02-17 01:57:28+00:00
State: open

I'm having a problem where a label that has specified text insets is not reflecting the "real" vertical height that is drawn in the value returned from `sizeThatFits:` — specifically setting `UIEdgeInsets` of `{ 3.f, 0.f, 0.f, 0.f }`. It appears that this method is not seeing the specified insets — the returned value is always out by exactly the top inset * the number of newlines in the specified attributed string.