tobihagemann / THLabel

UILabel subclass, which additionally allows shadow blur, inner shadow, stroke text and fill gradient.
https://tobiha.de
Other
665 stars 111 forks source link

Shadow is clipped with autolayout #15

Closed GevaZeichner closed 10 years ago

GevaZeichner commented 10 years ago

When using autolayout and relying on the label's intrinsic size, the shadows are clipped. Maybe intrinsic size should include the shadow size.

tobihagemann commented 10 years ago

Fixed that with the newest commit. If it's still relevant, you could try it out! shadowBlur is still missing in the calculation though.

tobihagemann commented 10 years ago

Should be stable now with version 1.4.1!